新增热搜词、历史搜索记录

This commit is contained in:
lyswhut
2020-03-15 17:17:41 +08:00
parent 9d1270374e
commit 670533807a
29 changed files with 460 additions and 18 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ const mutations = {
listClear(state, id) {
let targetList = getList(state, id)
if (!targetList) return
targetList.list.length = 0
targetList.list.length = []
},
updateMusicInfo(state, { id, index, data }) {
let targetList = getList(state, id)