From 9a55a9fc672d736ffde0cdbb3aea0f39c5473bcd Mon Sep 17 00:00:00 2001 From: xiaoyu <7547189+xytoki@users.noreply.github.com> Date: Tue, 23 Jan 2024 23:16:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20chore:=20add=20cache=20manager?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 2 +- src/views/Options/Env.vue | 52 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index f7e48ba..54c7af4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -75,7 +75,7 @@ declare global { window.$cocogoat = c window.$cocogoat.onload && window.$cocogoat.onload() /// #if !SINGLEFILE - loadSW() + window.$cocogoat.sw = loadSW() /// #endif })() diff --git a/src/views/Options/Env.vue b/src/views/Options/Env.vue index 6d9ff6b..b38648a 100644 --- a/src/views/Options/Env.vue +++ b/src/views/Options/Env.vue @@ -61,19 +61,56 @@
+