perf(X-Pack): 导入lic之后自动同步游离数据

This commit is contained in:
fit2cloud-chenyw 2024-05-20 17:58:02 +08:00
parent 101c12b1c8
commit 9a0c0d98b3

View File

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