升级 Vite 并补齐管理子路径鉴权参数

This commit is contained in:
root
2026-09-14 19:17:23 +08:00
parent 24b9b244b7
commit c115b6529d
7 changed files with 684 additions and 533 deletions
+8 -1
View File
@@ -67,7 +67,7 @@
<el-dialog title="查询" v-model="chosenGallery" style="height: 350px">
<el-image v-show='chosenGallery.thumb_link !== undefined'
style="float: right; width: 250px; height: 250px;" fit="contain"
:src="chosenGallery.thumb_link !== undefined ? 'https://downloader.lionwebsite.xyz/GalleryManage/ehThumbnail?path=' + chosenGallery.thumb_link: ''"/>
:src="chosenGallery.thumb_link !== undefined ? thumbnailUrl(chosenGallery.thumb_link) : ''"/>
<table>
<tr>名字:{{chosenGallery.name}}</tr>
<tr>页数:{{chosenGallery.pages}}</tr>
@@ -293,6 +293,13 @@ function readOnlineGallery(gallery){
store.dispatch("readOnlineGallery", gallery)
}
function thumbnailUrl(path) {
return "https://downloader.lionwebsite.xyz/GalleryManage/ehThumbnail?" + new URLSearchParams({
path,
AuthCode: store.state.AuthCode
}).toString()
}
function resetUndone(){
store.dispatch("resetUndone").then()
}