Commit 5423dc8e by xinla

重构海报编辑

1 parent 95afc875
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="执行时间"> <el-form-item label="执行时间" required>
<el-date-picker <el-date-picker
v-model="dateRange" v-model="dateRange"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
...@@ -295,10 +295,10 @@ export default { ...@@ -295,10 +295,10 @@ export default {
this.msgError('执行时间不能为空') this.msgError('执行时间不能为空')
return return
} }
if (!this.dateRange.length) { // if (!this.dateRange.length) {
this.msgError('执行时间不能为空') // this.msgError('执行时间不能为空')
return // return
} // }
this.loading = true this.loading = true
if (this.ruleId) { if (this.ruleId) {
update(this.ruleId, this.form) update(this.ruleId, this.form)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!