commit
This commit is contained in:
@@ -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%;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user