Commit 22542720 authored by liuzhaoh's avatar liuzhaoh

调整下载链接

parent 5c08188d
...@@ -318,7 +318,8 @@ const onExportFile = () => { ...@@ -318,7 +318,8 @@ const onExportFile = () => {
}; };
// 模板下载 // 模板下载
const onDownloadTemplate = () => { const onDownloadTemplate = () => {
// window.open('http://visimg.bmetech.com/stone/img/1748314002767/设备数据.xlsx') window.open('http://visimg.bmetech.com/stone/img/1748314002767/设备数据.xlsx')
return
axios axios
.get("https://visimg.bmetech.com/stone/img/1748314002767/设备数据.xlsx", { .get("https://visimg.bmetech.com/stone/img/1748314002767/设备数据.xlsx", {
responseType: "blob", responseType: "blob",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment