wzh 2 лет назад
Родитель
Сommit
d0ef9d7d56
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      pages/bluetooth/index/index.vue
  2. 1 0
      pages/weitiandi/bluetooth/status.vue

+ 1 - 1
pages/bluetooth/index/index.vue

@@ -173,7 +173,7 @@ import i18 from '@/utils/i18.js'
               ecUI.hideLoading()
               getPwd();
               self.buleid = id;
-            },2000)
+            },500)
             // uni.setStorageSync('blueid', id);
 						// ecBLE.stopBluetoothDevicesDiscovery();
             //

+ 1 - 0
pages/weitiandi/bluetooth/status.vue

@@ -288,6 +288,7 @@ export default {
         }else {
           setPwd(this.pwd);
           this.oldPwd = this.pwd;
+          uni.setStorageSync(this.pwd);
           this.$modal.showToast("密码修改成功");
           this.showPwd = false;
           this.showInitPwd = false;