Explorar el Código

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

zhangxc hace 5 años
padre
commit
5b9abf8906
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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) => {