Authored by QC-L

移除未用到的 setTimeout

... ... @@ -183,9 +183,7 @@ class App extends Component {
} else {
event.one('my-user-login-success', () => {
if (loginSuccess) {
setTimeout(() => {
loginSuccess();
}, 1000);
loginSuccess();
}
})
Taro.navigateTo({
... ... @@ -209,9 +207,7 @@ class App extends Component {
} else {
event.one('my-user-login-success', () => {
if (loginSuccess) {
setTimeout(() => {
loginSuccess();
}, 1000);
loginSuccess();
}
})
Taro.navigateTo({
... ... @@ -227,9 +223,7 @@ class App extends Component {
} else {
event.one('my-user-login-success', () => {
if (loginSuccess) {
setTimeout(() => {
loginSuccess();
}, 1000);
loginSuccess();
}
})
Taro.navigateTo({
... ... @@ -247,9 +241,7 @@ class App extends Component {
} else {
event.one('my-user-login-success', () => {
if (loginSuccess) {
setTimeout(() => {
loginSuccess();
}, 1000);
loginSuccess();
}
})
Taro.navigateTo({
... ... @@ -260,9 +252,7 @@ class App extends Component {
} else {
event.one('my-user-login-success', () => {
if (loginSuccess) {
setTimeout(() => {
loginSuccess();
}, 1000);
loginSuccess();
}
})
Taro.navigateTo({
... ...