style: 软件激活omclong
This commit is contained in:
@@ -27,7 +27,7 @@ const useLockedStore = defineStore('locked', {
|
|||||||
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);
|
console.log(res);
|
||||||
this.fnLock('lock',false)
|
this.fnLock('lock', false);
|
||||||
} else {
|
} else {
|
||||||
// 延迟5秒
|
// 延迟5秒
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@@ -41,7 +41,10 @@ const useLockedStore = defineStore('locked', {
|
|||||||
this.isLocked = v;
|
this.isLocked = v;
|
||||||
localSet(CACHE_LOCAL_LOCK, `${v}`);
|
localSet(CACHE_LOCAL_LOCK, `${v}`);
|
||||||
if (type === 'reload') {
|
if (type === 'reload') {
|
||||||
this.relaodWait();
|
// 延迟5秒
|
||||||
|
setTimeout(() => {
|
||||||
|
this.relaodWait();
|
||||||
|
}, 5_000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user