Browse Source

fix: continuously modify the properties of the receiving card

Casper Dai 3 years ago
parent
commit
60ac8cca04
1 changed files with 4 additions and 1 deletions
  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 })
     }