广丰卷烟厂数采质量分析系统
baoshiwei
22 小时以前 d143af7023cfd4a0ced6f0ecf04ae3b3a06fd1dc
1
2
3
4
5
6
7
8
9
import { createLocalforage, createStorage } from '@sa/utils';
 
const storagePrefix = import.meta.env.VITE_STORAGE_PREFIX || '';
 
export const localStg = createStorage<StorageType.Local>('local', storagePrefix);
 
export const sessionStg = createStorage<StorageType.Session>('session', storagePrefix);
 
export const localforage = createLocalforage<StorageType.Local>('local');