Commit 7100d5a7 authored by 李苏's avatar 李苏 💬

调整

parent 343d29fc
......@@ -2,7 +2,7 @@
* @Description:
* @Author: lisu lisu@gavelinfo.com
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-02-21 14:42:26
* @LastEditTime: 2025-02-21 15:05:03
* @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue
-->
<template>
......@@ -823,6 +823,7 @@
var link = document.createElement('a');
link.href = url;
link.target = '_blank'; // 在新标签页中打开
link.download = `日志${new Date().getTime()}.xlsx`; // 设置下载文件名
link.click();
link.remove()
} else {
......
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