From 226ad601bb8326814c3e94efd6f476014f6a9e66 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期四, 27 六月 2024 23:06:47 +0800 Subject: [PATCH] 产品工艺路线工序配置更新 --- src/utils/cache/persistent.ts | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/utils/cache/persistent.ts b/src/utils/cache/persistent.ts index cd68a36..7e3d853 100644 --- a/src/utils/cache/persistent.ts +++ b/src/utils/cache/persistent.ts @@ -1,8 +1,8 @@ -import type { LockInfo, UserInfo } from '/#/store'; -import type { ProjectConfig } from '/#/config'; +import type { LockInfo, UserInfo, TableSetting } from '#/store'; +import type { ProjectConfig } from '#/config'; import type { RouteLocationNormalized } from 'vue-router'; -import { createLocalStorage, createSessionStorage } from '/@/utils/cache'; +import { createLocalStorage, createSessionStorage } from '@/utils/cache'; import { Memory } from './memory'; import { TOKEN_KEY, @@ -13,8 +13,9 @@ APP_LOCAL_CACHE_KEY, APP_SESSION_CACHE_KEY, MULTIPLE_TABS_KEY, -} from '/@/enums/cacheEnum'; -import { DEFAULT_CACHE_TIME } from '/@/settings/encryptionSetting'; + TABLE_SETTING_KEY, +} from '@/enums/cacheEnum'; +import { DEFAULT_CACHE_TIME } from '@/settings/encryptionSetting'; import { toRaw } from 'vue'; import { pick, omit } from 'lodash-es'; @@ -25,6 +26,7 @@ [LOCK_INFO_KEY]: LockInfo; [PROJ_CFG_KEY]: ProjectConfig; [MULTIPLE_TABS_KEY]: RouteLocationNormalized[]; + [TABLE_SETTING_KEY]: Partial<TableSetting>; } type LocalStore = BasicStore; -- Gitblit v1.9.3