pull/161/head
parent
4874e158d8
commit
b1d3c50c91
|
@ -149,7 +149,7 @@ this.dataInit();
|
|||
link.href = url;
|
||||
|
||||
// 设置文件名
|
||||
link.setAttribute('download', `${devicecode}.txt`);
|
||||
link.setAttribute('download', `控制器-${devicecode}.txt`);
|
||||
|
||||
// 模拟点击下载
|
||||
document.body.appendChild(link);
|
||||
|
|
|
@ -133,7 +133,7 @@ export default {
|
|||
link.href = url;
|
||||
|
||||
// 设置文件名
|
||||
link.setAttribute('download', `${devicecode}.txt`);
|
||||
link.setAttribute('download', `施肥机-${devicecode}.txt`);
|
||||
|
||||
// 模拟点击下载
|
||||
document.body.appendChild(link);
|
||||
|
|
Loading…
Reference in New Issue