diff --git a/src/components/DashBoard.vue b/src/components/DashBoard.vue
index 7744f14..40ed944 100644
--- a/src/components/DashBoard.vue
+++ b/src/components/DashBoard.vue
@@ -81,7 +81,7 @@
-
+
@@ -386,9 +386,6 @@ function resetLocalQuery(){
store.commit("_searchLocalByTag", [''])
param.value = ""
}
-function closeQueryPanel(){
- isQuerying.value = false
-}
//删除任务
function deleteGallery(){
diff --git a/src/components/OnlineReader.vue b/src/components/OnlineReader.vue
index 8ff7bc3..659349a 100644
--- a/src/components/OnlineReader.vue
+++ b/src/components/OnlineReader.vue
@@ -2,6 +2,7 @@
import {computed, ref, watch} from "vue";
import store from "../store/index.js";
let props = defineProps(['currentGallery', 'isOnlineReading'])
+let emit = defineEmits(['close'])
let isShowUp = ref()
let onlineReadingScrollbar = ref()
let links = ref()
@@ -32,7 +33,7 @@ function alterPage(){
//跳转到对应页数
function jump(targetIndex){
- links.value = props.currentLinks.slice(targetIndex * lengthPerPage.value, (targetIndex + 1) * lengthPerPage.value)
+ links.value = props.currentGallery.images.slice(targetIndex * lengthPerPage.value, (targetIndex + 1) * lengthPerPage.value)
index.value = targetIndex
temp_index.value = targetIndex + 1
onlineReadingScrollbar.value.setScrollTop(0)
@@ -40,6 +41,7 @@ function jump(targetIndex){
function closeDialog(){
onlineReadingScrollbar.value.setScrollTop(0)
+ emit('close')
}
@@ -55,7 +57,7 @@ function closeDialog(){
+ :preview-src-list="currentGallery.images" :initial-index="index * lengthPerPage + i" loading="lazy"/>
diff --git a/src/components/Side.vue b/src/components/Side.vue
index 32d5b11..577b4dd 100644
--- a/src/components/Side.vue
+++ b/src/components/Side.vue
@@ -104,7 +104,7 @@
-
+