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