Commit 5e3c61e6 by liangjianmin

Change redirect method in login page from redirectTo to switchTab for improved…

Change redirect method in login page from redirectTo to switchTab for improved navigation experience.
parent 8e335201
Showing with 1 additions and 1 deletions
......@@ -94,7 +94,7 @@
uni.setStorageSync('oa_user_id', res.data.userId);
uni.redirectTo({
uni.switchTab({
url: '/pages/home/index'
});
uni.showToast({
......
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 sign in to comment