mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
fix bug
This commit is contained in:
@@ -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,
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user