zhouwenxuan
2023-11-15 f5d67b69142c78be1ee996f53b6bb8e4c954761c
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);