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)]