Skip to content

Commit

Permalink
feat: use $t
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Nov 23, 2023
1 parent 2dd41f4 commit 4964153
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/user/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<t-row class="content" justify="space-between">
<t-col v-for="(item, index) in USER_INFO_LIST" :key="index" class="contract" :span="item.span ?? 3">
<div class="contract-title">
{{ t(item.title) }}
{{ $t(item.title) }}
</div>
<div class="contract-detail">
{{ item.content }}
Expand Down Expand Up @@ -105,7 +105,6 @@ import ProductAIcon from '@/assets/assets-product-1.svg';
import ProductBIcon from '@/assets/assets-product-2.svg';
import ProductCIcon from '@/assets/assets-product-3.svg';
import ProductDIcon from '@/assets/assets-product-4.svg';
import { t } from '@/locales';
import { useSettingStore } from '@/store';
import { changeChartsTheme } from '@/utils/color';
import { LAST_7_DAYS } from '@/utils/date';
Expand Down

0 comments on commit 4964153

Please sign in to comment.