Skip to content

Commit

Permalink
delete superfluous text (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
2WeirDo committed Dec 3, 2023
1 parent 6e2f783 commit eed9939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh/guide/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const useStore = defineStore('store', {
- **类型**[`StorageLike`](https://github.com/prazdevs/pinia-plugin-persistedstate/blob/main/packages/plugin/src/types.ts#L3)
- **默认值**[`localStorage`](https://developer.mozilla.org/zh-CN/docs/Web/API/Window/localStorage)

将数据持久化到的 storage 中,必须具有 `getItem: (key: string) => string | null``setItem: (key: string, value: string) => void` 两个方法。
将数据持久化到 storage 中,必须具有 `getItem: (key: string) => string | null``setItem: (key: string, value: string) => void` 两个方法。

:::details 例如

Expand Down

0 comments on commit eed9939

Please sign in to comment.