优化代码

This commit is contained in:
chuzhongzai
2024-03-04 23:12:05 +08:00
parent b02e96a021
commit 5e4b700e0c
5 changed files with 22 additions and 20 deletions
+7 -7
View File
@@ -368,14 +368,14 @@ const mutations = {
const state = {
websocket: {}, //websocket
totalGalleryTask: [], //存放本子数据的数组
chosenGallery: false, //准备下载的本子
thumbnailGallery: {}, //缩略图本子
collectGallery: [], //收藏的本子
downloadGallery: [], //下载的本子
totalGalleryTask: [], //存放数据的数组
chosenGallery: false, //准备下载
thumbnailGallery: {}, //缩略图
collectGallery: [], //收藏
downloadGallery: [], //下载
isSearch: false, //用于决定是否显示搜索结果
readingGallery: {'name': '', 'images': []}, //在线看本子
readingGallery: {'name': '', 'images': []}, //在线看
isReading: false, //是否正在看
currentGid: "", //当前GID
@@ -391,7 +391,7 @@ const state = {
isAuth: false, //是否授权
AuthCode: '', //授权码
loadComplete: false, //是否加载完成
galleryRefreshTimer: 0, //本子更新计时器id
galleryRefreshTimer: 0, //更新计时器id
isInclude: false, //是否搜索到任务
searchTask: [], //搜索到的任务