From fa315dbe5e37b6c8cf9f68df71f79978ad027c7d Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期二, 05 十一月 2024 17:52:20 +0800
Subject: [PATCH] 缓存带过期时间

---
 src/components/chat/chatComponents/summaryCom/components/recordSetTable/RecordSetTable.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/chat/chatComponents/summaryCom/components/recordSetTable/RecordSetTable.vue b/src/components/chat/chatComponents/summaryCom/components/recordSetTable/RecordSetTable.vue
index 5aa82d0..e4e1509 100644
--- a/src/components/chat/chatComponents/summaryCom/components/recordSetTable/RecordSetTable.vue
+++ b/src/components/chat/chatComponents/summaryCom/components/recordSetTable/RecordSetTable.vue
@@ -113,7 +113,7 @@
 import { PATH_ICON } from '../../../common';
 import { ChartTypeEnum } from '../../../types';
 import { axisLabelFormatter } from '/@/utils/chart';
-import { Local } from '/@/utils/storage';
+import { LocalPlus } from '/@/utils/storage';
 
 const props = defineProps({
 	data: {
@@ -223,14 +223,14 @@
 const storeCols = (colList: any[]) => {
 	const key = colList.map((item) => item.label).join(',');
 	if (!key) return;
-	Local.set(key, colList);
+	LocalPlus.set(key, colList, 7);
 };
 const colList = ref([]);
 const getStoreCols = (colList: any[]) => {
 	if (colList.length === 0) return colList;
 	const key = colList.map((item) => item.label).join(',');
 	if (!key) return colList;
-	const storeValue = Local.get(key);
+	const storeValue = LocalPlus.get(key);
 
 	if (!storeValue) {
 		return colList;

--
Gitblit v1.9.3