修复网页登录进去显示未注册的BUG
This commit is contained in:
parent
740dee767d
commit
9e70ed2a51
|
@ -65,7 +65,10 @@ export default defineComponent({
|
||||||
);
|
);
|
||||||
|
|
||||||
const checkRegistered = () => {
|
const checkRegistered = () => {
|
||||||
if (GlobalData.getInstance().getCurrentClient()?.is_connected) {
|
if (
|
||||||
|
GlobalData.getInstance().getCurrentClient()?.is_connected &&
|
||||||
|
GlobalData.getInstance().getCurrentClient()?.is_login
|
||||||
|
) {
|
||||||
let register: any =
|
let register: any =
|
||||||
GlobalData.getInstance().applicationConfig?.registered;
|
GlobalData.getInstance().applicationConfig?.registered;
|
||||||
try {
|
try {
|
||||||
|
@ -104,7 +107,6 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
setInterval(checkRegistered, 5000);
|
setInterval(checkRegistered, 5000);
|
||||||
checkRegistered();
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
register_dialog,
|
register_dialog,
|
||||||
|
|
Loading…
Reference in New Issue