fix(i18n): 修复用户中心词条不生效的问题 (#634)

This commit is contained in:
悠静萝莉 2023-11-15 17:08:15 +08:00 committed by GitHub
parent 1a3984ced0
commit 33b9eaccf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
</t-button> </t-button>
</template> </template>
<t-row class="content" justify="space-between"> <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"> <t-col v-for="(item, index) in userInfoList" :key="index" class="contract" :span="item.span ?? 3">
<div class="contract-title"> <div class="contract-title">
{{ item.title }} {{ item.title }}
</div> </div>
@ -118,6 +118,7 @@ let lineContainer: HTMLElement;
let lineChart: echarts.ECharts; let lineChart: echarts.ECharts;
const store = useSettingStore(); const store = useSettingStore();
const chartColors = computed(() => store.chartColors); const chartColors = computed(() => store.chartColors);
const userInfoList = computed(() => USER_INFO_LIST);
const onLineChange = (value: DateRangeValue) => { const onLineChange = (value: DateRangeValue) => {
lineChart.setOption( lineChart.setOption(