Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
pet-business-web
Commits
039fb12b
Commit
039fb12b
authored
Sep 01, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
569ac9f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
article-insert.vue
src/views/article-management/article-insert.vue
+0
-1
banner_add.vue
src/views/banner_management/banner_add.vue
+9
-2
No files found.
src/views/article-management/article-insert.vue
View file @
039fb12b
...
...
@@ -83,7 +83,6 @@ export default {
name
:
'ArticleInsert'
,
// 数据字典
dicts
:
[
'article_status'
],
props
:
{
id
:
{
// 防止接受状态类型不兼容
...
...
src/views/banner_management/banner_add.vue
View file @
039fb12b
...
...
@@ -56,7 +56,13 @@
</el-form-item>
<el-form-item>
<el-button
:loading=
"submitLoading"
class=
"queryBtn"
icon=
"el-icon-check"
@
click=
"submitForm"
>
提交
</el-button>
<el-button
class=
"resetBtn"
icon=
"el-icon-back"
@
click=
"goBack"
>
返回
</el-button>
<BackBtn
:button-class=
"'resetBtn'"
:button-icon=
"'el-icon-back'"
:click-action=
"goBack"
button-text=
"返回"
is-show-confirm=
"true"
/>
</el-form-item>
</el-form>
</div>
...
...
@@ -68,10 +74,11 @@
import
{
parseTime
}
from
'@/utils/ruoyi'
import
{
addBanner
,
listBanner
}
from
'@/api/business/banner'
import
ImgUploadForBanner
from
'@/components/ImageUpload/imgUploadForBanner.vue'
import
BackBtn
from
'@/components/BackBtn/index.vue'
export
default
{
name
:
'BannerAdd'
,
components
:
{
ImgUploadForBanner
},
components
:
{
ImgUploadForBanner
,
BackBtn
},
data
()
{
const
checkSort
=
(
rule
,
value
,
callback
)
=>
{
if
(
value
===
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment