新增pinia持久化插件

This commit is contained in:
刘引
2025-12-26 11:11:18 +08:00
parent aff235bbf4
commit 99e1c9b445
10 changed files with 3534 additions and 17 deletions

32
pnpm-lock.yaml generated
View File

@@ -20,6 +20,9 @@ importers:
pinia:
specifier: ^3.0.3
version: 3.0.3(typescript@5.1.6)(vue@3.5.22(typescript@5.1.6))
pinia-plugin-persistedstate:
specifier: ^4.7.1
version: 4.7.1(pinia@3.0.3(typescript@5.1.6)(vue@3.5.22(typescript@5.1.6)))
qs:
specifier: ^6.14.0
version: 6.14.0
@@ -1304,6 +1307,9 @@ packages:
resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}
engines: {node: '>= 0.4'}
defu@6.1.4:
resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}
delayed-stream@1.0.0:
resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
engines: {node: '>=0.4.0'}
@@ -1895,6 +1901,20 @@ packages:
resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}
engines: {node: '>=12'}
pinia-plugin-persistedstate@4.7.1:
resolution: {integrity: sha512-WHOqh2esDlR3eAaknPbqXrkkj0D24h8shrDPqysgCFR6ghqP/fpFfJmMPJp0gETHsvrh9YNNg6dQfo2OEtDnIQ==}
peerDependencies:
'@nuxt/kit': '>=3.0.0'
'@pinia/nuxt': '>=0.10.0'
pinia: '>=3.0.0'
peerDependenciesMeta:
'@nuxt/kit':
optional: true
'@pinia/nuxt':
optional: true
pinia:
optional: true
pinia@3.0.3:
resolution: {integrity: sha512-ttXO/InUULUXkMHpTdp9Fj4hLpD/2AoJdmAbAeW2yu1iy1k+pkFekQXw5VpC0/5p51IOR/jDaDRfRWRnMMsGOA==}
peerDependencies:
@@ -3348,8 +3368,8 @@ snapshots:
'@jridgewell/source-map@0.3.6':
dependencies:
'@jridgewell/gen-mapping': 0.3.8
'@jridgewell/trace-mapping': 0.3.25
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
'@jridgewell/sourcemap-codec@1.5.5': {}
@@ -3909,6 +3929,8 @@ snapshots:
has-property-descriptors: 1.0.2
object-keys: 1.1.1
defu@6.1.4: {}
delayed-stream@1.0.0: {}
detect-libc@1.0.3:
@@ -4513,6 +4535,12 @@ snapshots:
picomatch@4.0.3: {}
pinia-plugin-persistedstate@4.7.1(pinia@3.0.3(typescript@5.1.6)(vue@3.5.22(typescript@5.1.6))):
dependencies:
defu: 6.1.4
optionalDependencies:
pinia: 3.0.3(typescript@5.1.6)(vue@3.5.22(typescript@5.1.6))
pinia@3.0.3(typescript@5.1.6)(vue@3.5.22(typescript@5.1.6)):
dependencies:
'@vue/devtools-api': 7.7.7