cxmo 6 月之前
父節點
當前提交
710d7c9258
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/dataEntry_manage/components/insertData.vue

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

@@ -21,7 +21,7 @@
       <dataLoading :loading="isLoading"/>
       
       <div class="download-ico">
-        <a :href="downloadTemplate" download="模板">
+        <a :href="`${downloadTemplate}${$i18nt.locale==='zh'?'':'/en'}`" download="模板">
           <i class="icon down_ico"></i>
           <span style="color: #5882ef; cursor: pointer">{{$t('ManualEntryPage.down_tem')}}</span>
         </a>
@@ -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" + this.$i18nt.locale==='zh'?'':'/en', //模板下载
+      downloadTemplate: process.env.VUE_APP_API_ROOT + "/entry/template", //模板下载
       downloadErrorlist:
         process.env.VUE_APP_API_ROOT +
         "/entry/import/failList" +