You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
426 B
23 lines
426 B
<script>
|
|
import { go2 } from '@/utils/hook.js'
|
|
import store from '@/store/index.js'
|
|
export default {
|
|
onLaunch: function () {
|
|
const token = store.state.qnToken
|
|
if (!token) {
|
|
go2('login')
|
|
}
|
|
},
|
|
onShow: function () {},
|
|
onHide: function () {}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
/*每个页面公共css */
|
|
@import url('./common/css/reset.scss');
|
|
@import '@/static/icon/iconfont.css';
|
|
page {
|
|
height: 100%;
|
|
}
|
|
</style>
|