From 8981e213f1d5d567db201e3b09596c4554fa9788 Mon Sep 17 00:00:00 2001 From: zyronon Date: Tue, 5 Dec 2023 15:52:11 +0800 Subject: [PATCH] add analysis --- index.html | 77 ++++++++++++++++++++++++---------------------- src/stores/base.ts | 2 +- 2 files changed, 41 insertions(+), 38 deletions(-) diff --git a/index.html b/index.html index 3758bde6..07f40608 100644 --- a/index.html +++ b/index.html @@ -1,45 +1,48 @@ - - - - Typing Word - - - + rem(); + window.addEventListener('resize', rem); + })(); + + +
diff --git a/src/stores/base.ts b/src/stores/base.ts index b1b4f2e9..734746cb 100644 --- a/src/stores/base.ts +++ b/src/stores/base.ts @@ -205,7 +205,7 @@ export const useBaseStore = defineStore('base', { let configStr: string = await localforage.getItem(SaveDict.key) // console.log(configStr) // console.log('s', new Blob([configStr]).size) - configStr = '' + // configStr = '' if (configStr) { let data = JSON.parse(configStr) let state: BaseState = data.val