fix: 锁屏重启判断
This commit is contained in:
@@ -53,6 +53,7 @@ function backLogin() {
|
|||||||
const isLocked = computed(() => lockedStore.type !== 'none');
|
const isLocked = computed(() => lockedStore.type !== 'none');
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
debugger
|
||||||
console.log(lockedStore.type);
|
console.log(lockedStore.type);
|
||||||
// 本地锁定类型设置
|
// 本地锁定类型设置
|
||||||
lockedStore.fnLock(lockedStore.type);
|
lockedStore.fnLock(lockedStore.type);
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ const useLockedStore = defineStore('locked', {
|
|||||||
actions: {
|
actions: {
|
||||||
// 重启等待-轮询
|
// 重启等待-轮询
|
||||||
async relaodWait() {
|
async relaodWait() {
|
||||||
|
debugger
|
||||||
try {
|
try {
|
||||||
const res = await getSysConf();
|
const res = await getSysConf();
|
||||||
if (res.code === RESULT_CODE_SUCCESS && res.data) {
|
if (res.code === RESULT_CODE_SUCCESS && res.data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user