-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add nickname in console Header.vue (#638)
- Loading branch information
ChiveHao
committed
Jul 31, 2024
1 parent
452e787
commit 91f8715
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
|
||
- 添加一些更为细致的权限目标(auth target) | ||
- 用户个人信息更新接口抽取 #636 | ||
- console显示用户昵称 | ||
|
||
# 0.14.2 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script setup lang="ts"> | ||
import {useUserStore} from '@/stores/user'; | ||
const userStore = useUserStore(); | ||
</script> | ||
<template> | ||
<div> | ||
Hello, {{ userStore.currentUser?.entity?.nickname }} | ||
</div> | ||
</template> | ||
<style lang="scss" scoped> | ||
</style> |