|
@@ -3,29 +3,31 @@
|
|
|
onBackPress
|
|
|
} from "@dcloudio/uni-app"
|
|
|
import cacheManager from "@/utils/cacheManager.js";
|
|
|
- import {useIsCanBack} from "@/store/isCanBack.js";
|
|
|
+ import {
|
|
|
+ useIsCanBack
|
|
|
+ } from "@/store/isCanBack.js";
|
|
|
export default {
|
|
|
-
|
|
|
+
|
|
|
// creat by wgy 0619 生命周期 钩子
|
|
|
onLaunch: function() {
|
|
|
// #ifdef APP-PLUS
|
|
|
if (cacheManager.get('auth')) {
|
|
|
uni.reLaunch({
|
|
|
- url: `/pages/Login/index`,
|
|
|
+ url: `/pages/admin/ShouYe/shouye`,
|
|
|
success() {
|
|
|
- plus.navigator.closeSplashscreen();
|
|
|
+ plus.navigator.closeSplashscreen();
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
cacheManager.clearAll()
|
|
|
uni.reLaunch({
|
|
|
- url: '/pages/Login/index' ,
|
|
|
+ url: '/pages/Login/index',
|
|
|
success() {
|
|
|
- plus.navigator.closeSplashscreen();
|
|
|
+ plus.navigator.closeSplashscreen();
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
- // #endif
|
|
|
+ // #endif
|
|
|
},
|
|
|
onShow: function() {
|
|
|
|
|
@@ -54,7 +56,9 @@
|
|
|
@import '/common/styles/index.scss';
|
|
|
|
|
|
// 西文、雅黑、黑体、宋体
|
|
|
- body,html,#app {
|
|
|
+ body,
|
|
|
+ html,
|
|
|
+ #app {
|
|
|
font-family: "Helvetica Neue", "Microsoft YaHei", "SimHei", "SimSun", "Arial", sans-serif;
|
|
|
margin: 0;
|
|
|
padding: 0;
|