<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')
    }
    console.log('App launched')
  },
  onShow: function () {
    console.log('App Show')
  },
  onHide: function () {
    console.log('App Hide')
  }
}
</script>

<style>
/*每个页面公共css */
@import url('./common/css/reset.scss');
</style>
