Ver Fonte

模板下载接口,换

cxmo há 6 meses atrás
pai
commit
681ac5fb63
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/dataEntry_manage/components/insertData.vue

+ 1 - 1
src/views/dataEntry_manage/components/insertData.vue

@@ -80,7 +80,7 @@ export default {
   data() {
     return {
       action: process.env.VUE_APP_API_ROOT + "/entry/import/data", //上传文件
-      downloadTemplate: process.env.VUE_APP_API_ROOT + "/entry/template", //模板下载
+      downloadTemplate: process.env.VUE_APP_API_ROOT + "/entry/template" + this.$i18nt.locale==='zh'?'':'/en', //模板下载
       downloadErrorlist:
         process.env.VUE_APP_API_ROOT +
         "/entry/import/failList" +