From da2465994474e253cfba556517621147dd26ac7a Mon Sep 17 00:00:00 2001 From: Ah jung <735878602@qq.com> Date: Mon, 31 Oct 2022 18:23:39 +0800 Subject: [PATCH] Update Storage.ts --- src/utils/Storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Storage.ts b/src/utils/Storage.ts index 1a3459d..509354f 100644 --- a/src/utils/Storage.ts +++ b/src/utils/Storage.ts @@ -77,7 +77,7 @@ export const createStorage = ({ prefixKey = '', storage = localStorage } = {}) = * @param {string} name cookie 名称 * @param {*} value cookie 值 * @param {number=} expire 过期时间 - * 如果过期时间为设置,默认关闭浏览器自动删除 + * 如果过期时间未设置,默认关闭浏览器自动删除 * @example */ setCookie(name: string, value: any, expire: number | null = DEFAULT_CACHE_TIME) {