Przeglądaj źródła

服务器密钥解析错误清空之前设备信息(2937)

zhangxc 5 lat temu
rodzic
commit
5b9abf8906
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      src/components/safeControl/AddToken.vue

+ 3 - 0
src/components/safeControl/AddToken.vue

@@ -148,6 +148,9 @@
                     this.cpu = data['server.cpu']
                     this.disk = data['server.disk']
                 } else {
+                    this.mainboard = ''
+                    this.cpu = ''
+                    this.disk = ''
                     this.warning(res.data.msg)
                 }
             }).catch((err) => {