From 9a0c0d98b386cfc739b743254fe16f49afe38acb Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 20 May 2024 17:58:02 +0800 Subject: [PATCH] =?UTF-8?q?perf(X-Pack):=20=E5=AF=BC=E5=85=A5lic=E4=B9=8B?= =?UTF-8?q?=E5=90=8E=E8=87=AA=E5=8A=A8=E5=90=8C=E6=AD=A5=E6=B8=B8=E7=A6=BB?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/about/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/core-frontend/src/views/about/index.vue b/core/core-frontend/src/views/about/index.vue index b9390fa23b..c70ad1b390 100644 --- a/core/core-frontend/src/views/about/index.vue +++ b/core/core-frontend/src/views/about/index.vue @@ -127,9 +127,14 @@ const update = (licKey: string) => { }) } +const autoSync = ref(true) const checkFree = () => { checkFreeApi().then(res => { if (res.data) { + if (autoSync.value) { + syncFree() + return + } // do something const title = '存在未同步的资源数据,请谨慎操作!' const childrenDomList = [h('strong', null, title)]