change persist
This commit is contained in:
parent
398deb691c
commit
15d4d3147f
File diff suppressed because it is too large
Load Diff
|
|
@ -17,7 +17,7 @@
|
|||
"dayjs": "^1.11.2",
|
||||
"mockjs": "^1.1.0",
|
||||
"pinia": "^2.0.13",
|
||||
"pinia-persistedstate-plugin": "^0.1.0",
|
||||
"pinia-plugin-persist": "^1.0.0",
|
||||
"tinymce": "^5.10.2",
|
||||
"vue": "^3.2.16",
|
||||
"vue-router": "^4.0.14",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { createPinia } from 'pinia'
|
||||
import { createPersistedState } from 'pinia-persistedstate-plugin'
|
||||
import piniaPersist from 'pinia-plugin-persist'
|
||||
const store = createPinia()
|
||||
store.use(createPersistedState())
|
||||
store.use(piniaPersist)
|
||||
|
||||
export function setupStore(app) {
|
||||
app.use(store)
|
||||
|
|
|
|||
Loading…
Reference in New Issue