createPersistedState问题
来源:8-8 category 数据缓存,覆盖初始数据

慕慕4402846
2024-08-29
const store = createStore({
getters,
modules: {
category
},
plugins: [
createPersistedState({
key: ‘hsc’,
paths: [‘category’]
})
]
})
请问下老师,这个报错是什么原因呢,localstorage中没有存储这个这个值。
写回答
1回答
-
慕慕4402846
提问者
2024-08-29
已找到问题,是我之前测试设置的206px高度是否应该为动态高度,手动增多的数据,数据存在循环引用了
00
相似问题