下载static里的文件地址更改

master
吕天方 5 months ago
parent c49d36d548
commit 1881085df2

@ -1,6 +1,6 @@
{
"name": "ruoyi",
"version": "1.0.202408121511",
"version": "1.0.202408121626",
"description": "金鸡湖现代服务业品牌管理系统",
"author": "若依",
"license": "MIT",

@ -337,7 +337,12 @@ export default {
//
frontDownload() {
var a = document.createElement("a"); //<a></a>
a.href = "/demo/JinJiHu/static/企业库数据模板.xlsx";
//
// a.href = "/demo/JinJiHu/static/.xlsx";
//
a.href = "/demo/JinJiHuTest/static/企业库数据模板.xlsx";
//
// a.href = "./static/.xlsx";
//ahref .
a.download ="企业库模板.xlsx";
//.xlsxpdf.fpd

@ -846,7 +846,12 @@ export default {
//
frontDownload() {
var a = document.createElement("a"); //<a></a>
a.href = "/demo/JinJiHu/static/企业名录模板.xlsx";
//
// a.href = "/demo/JinJiHu/static/.xlsx";
//
a.href = "/demo/JinJiHuTest/static/企业名录模板.xlsx";
//
// a.href = "./static/.xlsx";
//ahref .
a.download ="企业名录模板.xlsx";
//.xlsxpdf.fpd

Loading…
Cancel
Save