|
|
@ -176,7 +176,7 @@ const Login: FC = () => { |
|
|
|
|
|
|
|
|
|
|
|
async function TESTLOGIN() { |
|
|
|
async function TESTLOGIN() { |
|
|
|
const res = await loginApi.testLogin() |
|
|
|
const res = await loginApi.testLogin() |
|
|
|
localStorage.setItem('profile', JSON.stringify({data:res})) |
|
|
|
Taro.setStorageSync('profile', JSON.stringify(res)) |
|
|
|
Taro.switchTab({url: '/pages/index/index'}) |
|
|
|
Taro.switchTab({url: '/pages/index/index'}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|