Browse Source

图表总数修改

jwyu 1 year ago
parent
commit
910282403e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/chart/chartListWrap.vue
  2. 1 1
      src/lang/modules/EtaChart/commonLang.js

+ 1 - 1
src/components/chart/chartListWrap.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="chart-list-cont">
-    <span>{{$t('Chart.chart_count_start')}}{{ total }}{{$t('Chart.chart_count_end')}}</span>
+    <span>{{$t('Chart.total_chart_show',{limit:total})}}</span>
     <div
       class="chartList-wrapper"
       ref="listRef"

+ 1 - 1
src/lang/modules/EtaChart/commonLang.js

@@ -4,7 +4,7 @@
 
 export default {
   total_chart_show: {
-    zh: '共{limit}张图表',
+    zh: '共 {limit} 张图表',
     en: 'Total {limit} charts',
   },
   list_chart_time: {