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