Commit ce7bee91 authored by 罗林杰's avatar 罗林杰

修改bug

parent 496a8ae1
...@@ -290,7 +290,11 @@ ...@@ -290,7 +290,11 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="活动封面:" prop="pictureId"> <el-form-item
label="活动封面:"
prop="pictureId"
:rules="{ required: !(controls.isOperation === '3'), message: '请上传图片', trigger: 'blur' }"
>
<el-upload <el-upload
ref="upload" ref="upload"
accept=".png,.jpg,.jpeg,.PNG,.JPG,.JPEG" accept=".png,.jpg,.jpeg,.PNG,.JPG,.JPEG"
...@@ -406,7 +410,7 @@ export default { ...@@ -406,7 +410,7 @@ export default {
isApplication: null, isApplication: null,
publishDate: null, publishDate: null,
publishStatus: null, publishStatus: null,
flag: null, flag: undefined,
startTime: null, startTime: null,
endTime: null, endTime: null,
weight: null, weight: null,
...@@ -518,7 +522,6 @@ export default { ...@@ -518,7 +522,6 @@ export default {
this.form.isAuthentication = 0 this.form.isAuthentication = 0
this.form.isApplication = 0 this.form.isApplication = 0
this.form.isNeedMember = 0 this.form.isNeedMember = 0
this.form.flag = '0'
} }
}, },
queryRules() { queryRules() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment