mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-06 03:57:54 +08:00
fix(projects): 修复store的部分字段引用错误
This commit is contained in:
parent
5e9e3d740e
commit
19bd363ac6
@ -2,7 +2,7 @@
|
||||
<n-dropdown trigger="click" :options="options" @select="handleSelect">
|
||||
<HeaderButton>
|
||||
<n-avatar round size="large" src="https://z3.ax1x.com/2021/10/29/5jnWgf.jpg" />
|
||||
{{ authStore.name }}
|
||||
{{ authStore.userInfo?.realName }}
|
||||
</HeaderButton>
|
||||
</n-dropdown>
|
||||
</template>
|
||||
|
@ -1,14 +1,7 @@
|
||||
<template>
|
||||
<div text-center c-yellow>I prove that you have made the ju mp test2. {{ userStore.name }}</div>
|
||||
<div text-center c-yellow>I prove that you have made the ju mp test2.</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router';
|
||||
import { useAuthStore } from '@/store';
|
||||
|
||||
const userStore = useAuthStore();
|
||||
|
||||
const router = useRouter();
|
||||
</script>
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style scoped></style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user