refactor: update user reference to use nick_name in index.vue and shared_tool.py

This commit is contained in:
CaptainB 2025-06-18 18:32:09 +08:00
parent f161082be5
commit 0c881be76d
2 changed files with 4 additions and 4 deletions

View File

@ -157,7 +157,7 @@
</template> </template>
<template #subTitle> <template #subTitle>
<el-text class="color-secondary lighter" size="small"> <el-text class="color-secondary lighter" size="small">
{{ $t('common.creator') }}: {{ item.username }} {{ $t('common.creator') }}: {{ item.nick_name }}
</el-text> </el-text>
</template> </template>
</CardBox> </CardBox>
@ -182,7 +182,7 @@
</template> </template>
<template #subTitle> <template #subTitle>
<el-text class="color-secondary" size="small"> <el-text class="color-secondary" size="small">
{{ $t('common.creator') }}: {{ item.username }} {{ $t('common.creator') }}: {{ item.nick_name }}
</el-text> </el-text>
</template> </template>

View File

@ -69,7 +69,7 @@
</template> </template>
<template #subTitle> <template #subTitle>
<el-text class="color-secondary lighter" size="small"> <el-text class="color-secondary lighter" size="small">
{{ $t('common.creator') }}: {{ item.username }} {{ $t('common.creator') }}: {{ item.nick_name }}
</el-text> </el-text>
</template> </template>
</CardBox> </CardBox>
@ -92,7 +92,7 @@
</template> </template>
<template #subTitle> <template #subTitle>
<el-text class="color-secondary lighter" size="small"> <el-text class="color-secondary lighter" size="small">
{{ $t('common.creator') }}: {{ item.username }} {{ $t('common.creator') }}: {{ item.nick_name }}
</el-text> </el-text>
</template> </template>