Commit abe1854e authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 6d1c5ce3
...@@ -70,14 +70,14 @@ ...@@ -70,14 +70,14 @@
} }
// app.globalData.userId = data.idcode; // app.globalData.userId = data.idcode;
uni.setStorage({ // uni.setStorage({
key: 'token', // key: 'token',
data: 'D6E76AC8E89ABE548B56568B8814D578D6980EAB68926EB1E7C07BF9E96A316F5F433703067DF5142735505C42F58997' // data: 'D6E76AC8E89ABE548B56568B8814D578D6980EAB68926EB1E7C07BF9E96A316F5F433703067DF5142735505C42F58997'
}); // });
setTimeout(() => { // setTimeout(() => {
redirectTo('home'); // redirectTo('home');
}, 1000); // }, 1000);
return // return
tt.login({ tt.login({
force: true, force: true,
......
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