Browse Source

修复已知bug

DESKTOP-O04BTUJ\muzen 3 years ago
parent
commit
6ffe50ca6c
2 changed files with 3 additions and 3 deletions
  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
       }
     }