This commit is contained in:
Gdpao
2020-09-19 20:02:43 +08:00
parent a732778481
commit 49fe886234
9 changed files with 127 additions and 25 deletions

View File

@@ -217,10 +217,13 @@ export default {
uni.setStorageSync('token', res.data.token);
uni.setStorageSync('userinfo', res.data);
uni.setStorageSync('rongyun', res.data.rongcloud_token);
this.$u.route({
url: '/pages/index/index',
type: 'switchTab'
});
// this.$u.route({
// url: '/pages/index/index',
// type: 'switchTab'
// });
uni.switchTab({
url: '/pages/index/index',
})
}
});
}