소스 검색

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 })
     }