This commit is contained in:
2025-04-29 17:58:58 +08:00
parent 095d8335ac
commit 086643b834
5 changed files with 99 additions and 61 deletions
+6 -3
View File
@@ -1,10 +1,13 @@
<script>
import { setupRouterInterceptor, getDefaultWhiteList } from './utils/routerInterceptor'
import {setupRouterInterceptor, getDefaultWhiteList} from './utils/routerInterceptor'
export default {
globalData: {
user: null
},
onLaunch: function () {
console.log('App Launch')
// 初始化路由拦截器
setupRouterInterceptor(getDefaultWhiteList())
},
@@ -46,7 +49,7 @@ html, body {
overflow-x: hidden;
}
uni-page-body{
uni-page-body {
height: 100%;
}