Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zly2006 committed Jun 5, 2024
1 parent 1ff1712 commit 87f4db1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export type Profile = {
mmRecord?: {
city?: string;
city_zh?: string;
subdivision?: string;
subdivision_zh?: string;
country?: string;
country_zh?: string;
};
Expand Down
4 changes: 2 additions & 2 deletions src/views/admin/UserList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ console.log('router page', router.currentRoute.value.query.page);
{{ value }}
<template v-if="locale === 'zh_CN'">
<br />
{{ item.mmRecord?.city_zh ?? item.mmRecord?.city }}
,
{{ item.mmRecord?.country_zh ?? item.mmRecord?.country }}
{{ item.mmRecord?.subdivision_zh ?? item.mmRecord?.subdivision }}
{{ item.mmRecord?.city_zh ?? item.mmRecord?.city }}
</template>
</span>
</template>
Expand Down

0 comments on commit 87f4db1

Please sign in to comment.