gdpao
This commit is contained in:
@@ -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',
|
||||
})
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user