Commit 80e15f3d authored by 刘用法's avatar 刘用法

我的页面切换

parent d3d0f3c0
......@@ -135,11 +135,8 @@
}
},
onLoad() {
app.trackPage('我的首页')
console.log('-------000-------')
app.trackPage('我的首页')
if(this.vuex_token ) {
console.log('-------1111-------')
if (!this.showSuperButton) {
this.allowLogin()
}
......
......@@ -25,8 +25,16 @@
console.log(res)
if (res && res.code == 200) {
this.$u.vuex("vuex_token", res.data);
uni.navigateBack({
})
const callBack = (vm, result) => {
if (result && result.record) {
uni.navigateBack({
})
}
};
await getApp().getBaseInfo(this, callBack);
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment