Browse Source

优化

master
xsx 1 year ago
parent
commit
8c863d3f43
  1. 4
      im-uniapp/App.vue

4
im-uniapp/App.vue

@ -369,6 +369,8 @@ export default {
}, },
onLaunch() { onLaunch() {
this.$mountStore(); this.$mountStore();
// 1s
this.closeSplashscreen(1000);
// //
let loginInfo = uni.getStorageSync("loginInfo") let loginInfo = uni.getStorageSync("loginInfo")
this.refreshToken(loginInfo).then(() => { this.refreshToken(loginInfo).then(() => {
@ -380,8 +382,6 @@ export default {
uni.navigateTo({ uni.navigateTo({
url: "/pages/login/login" url: "/pages/login/login"
}) })
// 1s
this.closeSplashscreen(1000);
}) })
} }
} }

Loading…
Cancel
Save