|
|
@ -134,7 +134,7 @@ const delDate = (record) => {
|
|
|
|
const exportDevice = () => {
|
|
|
|
const exportDevice = () => {
|
|
|
|
ExportDevice().then(res => {
|
|
|
|
ExportDevice().then(res => {
|
|
|
|
const elink = document.createElement('a');
|
|
|
|
const elink = document.createElement('a');
|
|
|
|
elink.download = '飞行器信息.xlsx';
|
|
|
|
elink.download = '飞行器信息.txt';
|
|
|
|
elink.style.display = 'none';
|
|
|
|
elink.style.display = 'none';
|
|
|
|
elink.href = URL.createObjectURL(res);
|
|
|
|
elink.href = URL.createObjectURL(res);
|
|
|
|
document.body.appendChild(elink);
|
|
|
|
document.body.appendChild(elink);
|
|
|
|