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