2024-08-19 17:52:52 +08:00

23 lines
483 B
Vue

<script setup lang="ts">
import { onHide, onLaunch, onShow } from '@dcloudio/uni-app';
import { useUserStore } from '@/stores/modules/user';
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>