1234567891011121314151617181920212223 |
- <script>
- import * as initPermission from '@/utils/permission.js'
- export default {
- onLaunch: function() {
- // 拦截器
- initPermission
- console.log('App Launch')
- },
- onShow: function() {
- console.log('App Show')
- },
- onHide: function() {
- console.log('App Hide')
- }
- }
- </script>
- <style lang="scss">
- /*每个页面公共css */
- @import 'style/iconfont/iconfont.css';
- // 引入uView基础公共样式
- @import "@/uni_modules/uview-ui/index.scss";
- </style>
|