2024-06-15 16:45:56 +08:00

19 lines
501 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script lang="ts" setup>
import { useUserStore } from '@/stores/modules/user';
const userStore = useUserStore();
// onLoad((query) => {
// console.log('log onLoad query', query);
// });
</script>
<template>
<view class="text-center">
登录后访问log
</view>
<image class="" :src="userStore.userInfo?.avatar" mode="aspectFit" lazy-load="false" binderror="" bindload="" />
<view>用户昵称{{ userStore.userInfo?.nickname }}</view>
</template>
<style lang="scss" scoped></style>