From cd9046f7a655b2481fdcb8ac2dc4e38529e54d61 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Fri, 11 Oct 2024 15:42:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=84=B1=E6=95=8F=E7=8E=AF=E5=A2=83=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/enterpriselibrary/index.vue | 2 +- src/views/onlineDeclaration/enterpriseDirectory/index.vue | 2 +- vue.config.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/enterpriselibrary/index.vue b/src/views/enterpriselibrary/index.vue index 0c5163a..03656ea 100644 --- a/src/views/enterpriselibrary/index.vue +++ b/src/views/enterpriselibrary/index.vue @@ -340,7 +340,7 @@ export default { // 测试环境下载地址 a.href = "/demo/JinJiHu/static/企业库数据模板.xlsx"; // 脱敏三方测试用下载地址 - // a.href = "/demo/JinJiHuTest/static/企业库数据模板.xlsx"; + // a.href = "/test/JinJiHuTest/static/企业库数据模板.xlsx"; // 正式环境下载地址 // a.href = "./static/企业库数据模板.xlsx"; //给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点. diff --git a/src/views/onlineDeclaration/enterpriseDirectory/index.vue b/src/views/onlineDeclaration/enterpriseDirectory/index.vue index c553511..9a9fd88 100644 --- a/src/views/onlineDeclaration/enterpriseDirectory/index.vue +++ b/src/views/onlineDeclaration/enterpriseDirectory/index.vue @@ -849,7 +849,7 @@ export default { // 测试环境下载地址 a.href = "/demo/JinJiHu/static/企业名录模板.xlsx"; // 脱敏三方测试用下载地址 - // a.href = "/demo/JinJiHuTest/static/企业名录模板.xlsx"; + // a.href = "/test/JinJiHuTest/static/企业名录模板.xlsx"; // 正式环境下载地址 // a.href = "./static/企业名录模板.xlsx"; //给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点. diff --git a/vue.config.js b/vue.config.js index bfac8bd..7c09c8b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -21,7 +21,7 @@ module.exports = { // 测试环境部署地址 publicPath: process.env.NODE_ENV === "production" ? "/demo/JinJiHu" : "/", // 第三方测试脱敏部署地址 - // publicPath: process.env.NODE_ENV === "production" ? "/demo/JinJiHuTest" : "/", + // publicPath: process.env.NODE_ENV === "production" ? "/test/JinJiHuTest" : "/", // 正式环境部署地址 // publicPath: process.env.NODE_ENV === "production" ? "./" : "/", // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)