Compare commits
No commits in common. "902071013238ee8bbe3bc81cea69ca8d2874aa81" and "3edf47827906214f01940564dc8fa6a1a2bf4e38" have entirely different histories.
9020710132
...
3edf478279
|
@ -149,7 +149,7 @@ this.dataInit();
|
||||||
link.href = url;
|
link.href = url;
|
||||||
|
|
||||||
// 设置文件名
|
// 设置文件名
|
||||||
link.setAttribute('download', `控制器-${devicecode}.txt`);
|
link.setAttribute('download', `${devicecode}.txt`);
|
||||||
|
|
||||||
// 模拟点击下载
|
// 模拟点击下载
|
||||||
document.body.appendChild(link);
|
document.body.appendChild(link);
|
||||||
|
|
|
@ -133,7 +133,7 @@ export default {
|
||||||
link.href = url;
|
link.href = url;
|
||||||
|
|
||||||
// 设置文件名
|
// 设置文件名
|
||||||
link.setAttribute('download', `施肥机-${devicecode}.txt`);
|
link.setAttribute('download', `${devicecode}.txt`);
|
||||||
|
|
||||||
// 模拟点击下载
|
// 模拟点击下载
|
||||||
document.body.appendChild(link);
|
document.body.appendChild(link);
|
||||||
|
|
Loading…
Reference in New Issue