Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
Details
Activity
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
hooloo
web
soss
Commits
f3f13a7a
Commit
f3f13a7a
authored
Sep 07, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改商品推荐必填字段
parent
8fd3d7f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/views/shop/shop/components/addRecommend.vue
+8
-8
No files found.
src/views/shop/shop/components/addRecommend.vue
View file @
f3f13a7a
...
...
@@ -11,10 +11,10 @@
<el-form-item
label=
"折扣价"
>
{{
form
.
discount
}}
</el-form-item>
<el-form-item
label=
"推荐标题"
prop=
"name"
>
<el-form-item
label=
"推荐标题"
>
<el-input
v-model=
"form.name"
placeholder=
"请输入推荐标题"
/>
</el-form-item>
<el-form-item
label=
"简述"
prop=
"desc"
>
<el-form-item
label=
"简述"
>
<el-input
v-model=
"form.desc"
placeholder=
"请输入简述"
/>
</el-form-item>
<el-form-item
label=
"推荐图"
prop=
"pic"
>
...
...
@@ -41,12 +41,12 @@ export default {
},
open
:
false
,
rules
:
{
name
:
[
{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
},
],
desc
:
[
{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
},
],
//
name: [
//
{ required: true, message: "不能为空", trigger: "blur" },
//
],
//
desc: [
//
{ required: true, message: "不能为空", trigger: "blur" },
//
],
pic
:
[
{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
},
],
...
...
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