浏览代码

fix: continuously modify the properties of the receiving card

Casper Dai 3 年之前
父节点
当前提交
60ac8cca04
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/views/device/detail/components/ReceivingCardInfoEdit.vue

+ 4 - 1
src/views/device/detail/components/ReceivingCardInfoEdit.vue

@@ -371,7 +371,10 @@ export default {
           reset = true
           break
         default:
-          return
+          break
+      }
+      if (!reset) {
+        this.info[key] = this.defaults[key]
       }
       this.$emit('refresh', { tip, reset })
     }