国外MOSE官网
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.

30 lines
602 B

4 days ago
4 days ago
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. // 查询配置列表
  6. this.$store.dispatch('getConfig')
  7. // 查询职业列表
  8. this.$store.dispatch('getCareer')
  9. // 查询学历列表
  10. this.$store.dispatch('getQualification')
  11. },
  12. onShow: function() {
  13. console.log('App Show')
  14. if (!uni.getStorageSync('token')) {
  15. uni.reLaunch({
  16. url: '/subPages/login/login'
  17. })
  18. // return
  19. }
  20. },
  21. onHide: function() {
  22. console.log('App Hide')
  23. }
  24. }
  25. </script>
  26. <style lang="scss">
  27. @import '@/uni_modules/uv-ui-tools/index.scss';
  28. </style>