浏览代码

feat: 搜索缓存退出登陆后清除

cuiyalong 1 年之前
父节点
当前提交
db5f2c57ce
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      apps/mobile/src/views/search/result/bidding/index.vue

+ 4 - 1
apps/mobile/src/views/search/result/bidding/index.vue

@@ -2321,7 +2321,10 @@ export default {
       const params = this.getSaveFilterToHistoryParams()
       this.$storage.set(
         BIDDING_SEARCH_LAST_FILTERS_CACHE_KEY,
-        params
+        params,
+        {
+          login: true
+        }
       )
     },
     beforeTabActiveChange(name) {