更新已收藏的在线列表时,将始终重新加载,不再使用缓存

This commit is contained in:
lyswhut
2022-01-18 15:34:48 +08:00
parent bad2e98757
commit 30d5f53c1d
5 changed files with 11 additions and 7 deletions
@@ -339,9 +339,9 @@ export default {
let promise
if (/board__/.test(sourceListId)) {
const id = sourceListId.replace(/board__/, '')
promise = this.getBoardListAll(id)
promise = this.getBoardListAll({ id, isRefresh: true })
} else {
promise = this.getListDetailAll({ source, id: sourceListId })
promise = this.getListDetailAll({ source, id: sourceListId, isRefresh: true })
}
return promise.finally(() => {
this.fetchingListStatus[id] = false