Bläddra i källkod

修改设备无线网路问题

wangming 2 månader sedan
förälder
incheckning
aaf7c010ec
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3 2
      src/pagesA/adDevice/adDevice.vue

+ 3 - 2
src/pagesA/adDevice/adDevice.vue

@@ -247,8 +247,8 @@ export default {
             width: "",
             length: "",
             height: "",
-            wifiName: "HFleineng-5G",
-            wifiPassword: "abc.123456",
+            wifiName: "",
+            wifiPassword: "",
             northAngle: "0",
             mountPlain: "Wall",
             installPosition: "Toilet",
@@ -469,6 +469,7 @@ export default {
                             that.wifiName = res.wifi.SSID;
                         },
                         fail: (res) => {
+                            that.wifiName = "";
                             uni.showModal({
                                 content: "请先连接家庭无线网络",
                                 showCancel: false,