App.uvue 341 B

12345678910111213141516171819202122
  1. <script lang="uts">
  2. import { initStore } from '@/store/user.uts'
  3. export default {
  4. onLaunch: function () {
  5. initStore()
  6. console.log('App Launch')
  7. },
  8. onShow: function () {
  9. console.log('App Show')
  10. },
  11. onHide: function () {
  12. console.log('App Hide')
  13. }
  14. }
  15. </script>
  16. <style>
  17. page {
  18. background-color: #f5f5f5;
  19. }
  20. </style>