This commit is contained in:
yuping
2023-02-20 05:04:09 +08:00
parent 020a6917bc
commit 355037e48d

View File

@@ -250,9 +250,7 @@
</div>
</div>
<a
:href="
item.indexOf('http') !== -1 ? item : locationHref + item
"
@click="openDown(item)"
style="margin-left: 5px"
>下载</a
>
@@ -336,9 +334,15 @@ export default defineComponent({
emit("cancel");
};
function openDown(link){
window.open(process.env.VUE_APP_FILE_PATH + link)
//:href="item.indexOf('http') !== -1 ? item : locationHref + item"
}
return {
...toRefs(state),
filterTxt,
openDown,
handleCancel,
};
},