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);