修复分享链接错误,修复在线预览按钮(同步更新)。尝试优化缩略图。
This commit is contained in:
@@ -51,9 +51,9 @@
|
||||
</table>
|
||||
<el-button @click="postTask" v-if="chosenGallery.availableResolution">下载</el-button>
|
||||
<tr v-if="!chosenGallery.availableResolution">
|
||||
<el-button @click="onlineGalleryReader(chosenGallery.name)">在线看</el-button>
|
||||
<el-button @click="showThumbnailGallery(chosenGallery)">查看预览</el-button>
|
||||
<el-button @click="deleteGallery" >删除</el-button>
|
||||
<el-button @click="onlineGalleryReader(chosenGallery.gid)">在线预览</el-button>
|
||||
<el-button @click="showThumbnailGallery(chosenGallery)">查看封面图</el-button>
|
||||
<el-button @click="deleteGallery">删除</el-button>
|
||||
</tr>
|
||||
</el-dialog>
|
||||
|
||||
@@ -250,8 +250,8 @@ function coverLink(rawLink){
|
||||
}
|
||||
|
||||
//在线阅读以及展示缩略图
|
||||
function onlineGalleryReader(name){
|
||||
window.open("http://zfile.lionwebsite.xyz/1/gallery/" + encodeURI(name))
|
||||
function onlineGalleryReader(gid){
|
||||
store.dispatch("queryOnlineLinks", gid)
|
||||
}
|
||||
function showThumbnailGallery(gallery){
|
||||
store.commit("_changeThumbnailGallery", gallery)
|
||||
|
||||
Reference in New Issue
Block a user