2024-10-12 01:40:49 +00:00

23 lines
483 B
Vue

<script setup lang="ts">
import { useUserStore } from '@/stores/modules/user';
import { onHide, onLaunch, onShow } from '@dcloudio/uni-app';
onLaunch(() => {
console.log('App Launch');
});
onShow(() => {
const userStore = useUserStore();
userStore.initUserInfo();
console.log('App Show');
});
onHide(() => {
console.log('App Hide');
});
</script>
<style lang="scss">
@import 'tailwindcss/base';
@import 'tailwindcss/utilities';
@import 'tailwindcss/components';
</style>