fix download name
This commit is contained in:
@@ -19374,7 +19374,8 @@ const _sfc_main$D = defineComponent({
|
||||
getCheckboxProps: { type: Function, default: () => {
|
||||
} },
|
||||
getRadioProps: { type: Function, default: () => {
|
||||
} }
|
||||
} },
|
||||
download: { default: "" }
|
||||
},
|
||||
emits: [
|
||||
"change",
|
||||
@@ -19609,7 +19610,7 @@ const _sfc_main$D = defineComponent({
|
||||
</html>`;
|
||||
let a = document.createElement("a");
|
||||
a.href = uri + base64(exportTemplate);
|
||||
a.download = "\u4E0B\u8F7D\u6587\u4EF6.xls";
|
||||
a.download = (props.download || "\u4E0B\u8F7D\u6587\u4EF6") + ".xls";
|
||||
a.click();
|
||||
return;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user