|
@@ -67,7 +67,8 @@ const type = computed(() => {
|
|
|
});
|
|
|
|
|
|
const download = async (url: string) => {
|
|
|
- await saveAs(url);
|
|
|
+ const ndx = url.lastIndexOf("/");
|
|
|
+ await saveAs(url, url.substring(ndx + 1));
|
|
|
Message.success(ui18n.t("sys.download") + ui18n.t("resCode.0"));
|
|
|
};
|
|
|
</script>
|