Commit 3dee170d by 周业恒

fix id

parent c89212a2
Pipeline #20530 passed with stages
in 1 minute 1 second
...@@ -173,12 +173,10 @@ ...@@ -173,12 +173,10 @@
//alert(media_export_name) //alert(media_export_name)
const uri = 'data:text/csv;charset=utf-8,\ufeff' + encodeURIComponent(media_export_name); const uri = 'data:text/csv;charset=utf-8,\ufeff' + encodeURIComponent(media_export_name);
// 通过创建a标签实现 // 通过创建a标签实现
const link = document.createElement("export-media-id"); const link = document.createElement("a");
link.href = uri; link.href = uri;
link.download = "中公云媒资ID.csv"; link.download = "中公云媒资ID.csv";
link.click(); link.click();
} }
function x_admin_show(url){ function x_admin_show(url){
......
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