zhouwenxuan
2023-10-26 e7b81924e3fa4d7c5a52484f465efa6733e8c402
pages/index/index.vue
@@ -70,7 +70,7 @@
         }
      },
      onLoad() {
         // this.connect()
         this.connect()
      },
      methods: {
         Login(){
@@ -80,10 +80,10 @@
                  this.isLogining = false;
                   //登录成功后
                   //设置别名
                  // jpushModule.setAlias({
                  //    'alias': this.phone,
                  //    'sequence': 1
                  // })
                  jpushModule.setAlias({
                     'alias': this.phone,
                     'sequence': 1
                  })
                  uni.setStorageSync("name", this.form.name);
                  uni.setStorageSync("pwd", this.form.pwd);
                  uni.setStorageSync("tk", res.data.tk);