qinzhipeng_v@didiglobal.com 4 жил өмнө
parent
commit
7926a8dc60

+ 0 - 2
src/views/monthly/components/createdMonthly.vue

@@ -52,8 +52,6 @@ export default {
   },
   methods: {
     monthly_dialog() {
-      this.$refs.monthly_form.content ? this.$refs.monthly_form.clearValidate('content') : this.rules.content = [{ required: true, message: '素材不能为空', trigger: 'change' }]
-      this.$refs.monthly_form.thumb ? this.$refs.monthly_form.clearValidate('thumb') : this.rules.thumb = [{ required: true, message: '缩略图不能为空', trigger: 'change' }]
       this.$refs.monthly_form.validate((valid) => {
         if (valid) {
           this.$emit('monthly_created', this.monthly_form)