DESKTOP-O04BTUJ\muzen преди 3 години
родител
ревизия
6ffe50ca6c
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 0
      src/views/channel/custom/detail.vue
  2. 2 3
      src/views/operation/startPage/detail.vue

+ 1 - 0
src/views/channel/custom/detail.vue

@@ -201,6 +201,7 @@ export default {
       edit(this.form).then(res => {
         if (res.code === 0) {
           this.$message.success('修改成功!')
+          this.getDetail()
         }
       })
     },

+ 2 - 3
src/views/operation/startPage/detail.vue

@@ -59,11 +59,10 @@ export default {
   },
   watch: {
     'form.time'(val) {
-      if (val === 0) {
+      if(val === 0){
         this.form.isStep = 0
         this.disabled = true
-      } else {
-        delete this.form.isStep
+      }else{
         this.disabled = false
       }
     }