async function exportUsers() {
try {
let { data } = await axios.get("/users/export", {
responseType: "blob"
});
let URL = window.URL || window.webkitURL;
let objectUrl = URL.createObjectURL(data);
let a = document.createElement("a");
a.href = objectUrl; // 文件流生成的url
a.download = "未来软件工作室用户信息"; // 文件名
document.body.appendChild(a);
a.click();
a.remove();
} catch {
}
}