style: 软件激活omclong
This commit is contained in:
@@ -26,7 +26,6 @@ const useLockedStore = defineStore('locked', {
|
|||||||
async relaodWait() {
|
async relaodWait() {
|
||||||
const res = await getSysConf();
|
const res = await getSysConf();
|
||||||
if (res.code === RESULT_CODE_SUCCESS && res.data) {
|
if (res.code === RESULT_CODE_SUCCESS && res.data) {
|
||||||
console.log(res);
|
|
||||||
this.fnLock('lock', false);
|
this.fnLock('lock', false);
|
||||||
} else {
|
} else {
|
||||||
// 延迟5秒
|
// 延迟5秒
|
||||||
@@ -44,7 +43,7 @@ const useLockedStore = defineStore('locked', {
|
|||||||
// 延迟5秒
|
// 延迟5秒
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.relaodWait();
|
this.relaodWait();
|
||||||
}, 5_000);
|
}, 2_000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user