优化代码

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