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