forked from github/dataease
Merge pull request #9739 from dataease/pr@dev-v2@perf_sync_community_data
perf(X-Pack): 导入lic之后自动同步游离数据
This commit is contained in:
commit
50c958033d
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user