Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
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
bp
op-web-service
Commits
bd9cacae
Commit
bd9cacae
authored
Sep 09, 2021
by
liwenhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:配置上限
parent
cf04f334
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
index.vue
src/pages/Groupmeal/Marketing/index.vue
+4
-1
No files found.
src/pages/Groupmeal/Marketing/index.vue
View file @
bd9cacae
...
...
@@ -61,7 +61,7 @@
</div>
</el-form-item>
<el-form-item>
<el-button
@
click=
"addDomain"
>
新增档位
</el-button>
<el-button
@
click=
"addDomain"
v-if=
"configForm.result.length < 7"
>
新增档位
</el-button>
</el-form-item>
</el-form>
<
template
#
footer
>
...
...
@@ -272,6 +272,9 @@
}
}
}
if
(
this
.
configForm
.
result
.
length
>
6
)
{
return
this
.
$message
.
error
(
"已达配置上限,档位最多只能配置6个"
);
}
this
.
listParams
.
config
=
JSON
.
stringify
(
this
.
configForm
.
result
);
this
.
listParams
.
date
=
this
.
configForm
.
date
;
let
res
=
await
yingxiaoSaveConfig
(
this
.
listParams
);
...
...
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