Skip to content

Commit

Permalink
docs: prepare for release docs
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Oct 11, 2023
1 parent 50d440c commit de10a34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/stores/common/jsonStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import { JsonUtil } from "zhi-common"
* https://github.com/vueuse/vueuse/blob/main/packages/core/ssr-handlers.ts#L11
*
* @author terwer
* @version 1.7.0
* @since 1.7.0
* @version 1.17.0
* @since 1.17.0
*/
class JsonStorage implements StorageLike {
private readonly logger: any
Expand Down
14 changes: 7 additions & 7 deletions src/stores/common/useCommonLocalStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
* or visit www.terwer.space if you need additional information or have any
* questions.
*/
import type {MaybeRefOrGetter, RemovableRef} from "@vueuse/shared"
import type {StorageLike, UseStorageOptions} from "@vueuse/core"
import {defaultWindow, useStorage} from "@vueuse/core"
import type { MaybeRefOrGetter, RemovableRef } from "@vueuse/shared"
import type { StorageLike, UseStorageOptions } from "@vueuse/core"
import { defaultWindow, useStorage } from "@vueuse/core"
import JsonStorage from "~/src/stores/common/jsonStorage.ts"
import {createAppLogger} from "~/src/utils/appLogger.ts"
import {useSiyuanDevice} from "~/src/composables/useSiyuanDevice.ts"
import { createAppLogger } from "~/src/utils/appLogger.ts"
import { useSiyuanDevice } from "~/src/composables/useSiyuanDevice.ts"

const logger = createAppLogger("use-common-local-storage")

/**
* 通用响应式的 LocalStorage.
* 通用响应式的 LocalStorage
*
* @see https://vueuse.org/useCommonLocalStorage
* @see https://vueuse.org/useLocalStorage
* @param filePath json文件存储位置,可选,浏览器环境忽略此参数
* @param key key
* @param initialValue 初始值
Expand Down

0 comments on commit de10a34

Please sign in to comment.