From 598d256be408a04ccda7a5a2166e78632afcebf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E9=BE=99?= Date: Fri, 6 May 2022 22:36:22 +0800 Subject: [PATCH] style: lint fix --- src/layout/components/tags/index.vue | 5 ++++- src/layout/index.vue | 5 ++++- src/utils/cache/index.js | 10 ++++++++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/layout/components/tags/index.vue b/src/layout/components/tags/index.vue index 317cedd..909d596 100644 --- a/src/layout/components/tags/index.vue +++ b/src/layout/components/tags/index.vue @@ -3,7 +3,10 @@
diff --git a/src/utils/cache/index.js b/src/utils/cache/index.js index 6849483..f439e16 100644 --- a/src/utils/cache/index.js +++ b/src/utils/cache/index.js @@ -1,9 +1,15 @@ import { createWebStorage } from './web-storage' export const createLocalStorage = function (option = {}) { - return createWebStorage({ prefixKey: option.prefixKey || '', storage: localStorage }) + return createWebStorage({ + prefixKey: option.prefixKey || '', + storage: localStorage, + }) } export const createSessionStorage = function (option = {}) { - return createWebStorage({ prefixKey: option.prefixKey || '', storage: sessionStorage }) + return createWebStorage({ + prefixKey: option.prefixKey || '', + storage: sessionStorage, + }) }