Jelajahi Sumber

加翻译英文字段

cxmo 10 bulan lalu
induk
melakukan
29c757d3eb
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/views/system_manage/dataRefreshSetting.vue

+ 1 - 1
src/views/system_manage/dataRefreshSetting.vue

@@ -10,7 +10,7 @@
                 </el-select>
                 </el-select>
                 <el-select :placeholder="$t('SystemManage.DataRefresh.select_source_pld')" v-model="SubSource" v-if="SubSourceList.length" @change="handleSubSourceChange">
                 <el-select :placeholder="$t('SystemManage.DataRefresh.select_source_pld')" v-model="SubSource" v-if="SubSourceList.length" @change="handleSubSourceChange">
                     <el-option v-for="item in SubSourceList" :key="item.Source" 
                     <el-option v-for="item in SubSourceList" :key="item.Source" 
-                    :label="item.SubSourceName" :value="item.SubSource"/>
+                    :label="$i18nt.locale==='zh'?item.SubSourceName:item.SubSourceNameEn||item.SubSourceName" :value="item.SubSource"/>
                 </el-select>
                 </el-select>
                 <el-button type="primary" @click="showDialog(true)"
                 <el-button type="primary" @click="showDialog(true)"
                     v-permission="permissionBtn.sysDepartPermission.refresh_default"
                     v-permission="permissionBtn.sysDepartPermission.refresh_default"