新增设置默认显示类型、显示名字、排列顺序
This commit is contained in:
+6
-2
@@ -342,6 +342,9 @@ const mutations = {
|
||||
state.sortType = sortType
|
||||
sortTasks(state)
|
||||
},
|
||||
_setGalleryNameType(state, galleryNameType){
|
||||
state.galleryNameType = galleryNameType
|
||||
},
|
||||
_setShowNameType(state, type){
|
||||
if(type === "shortName")
|
||||
state.length = state.shortLength
|
||||
@@ -395,8 +398,9 @@ const state = {
|
||||
|
||||
isInclude: false, //是否搜索到任务
|
||||
searchTask: [], //搜索到的任务
|
||||
category: 'myDownload', //分类
|
||||
sortType:'shortName', //排序类型
|
||||
category: 'myDownload', //分类 myDownload myCollect total
|
||||
sortType:'shortName', //排序类型 shortName name createTime
|
||||
galleryNameType: 'shortName', //名字类型 shortName name
|
||||
currentTasks: [], //当前任务
|
||||
weekUsed: {}, //每周用量
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user