Browse Source

1

Signed-off-by: lcw <1324309909@qq.com>
lcw 2 years ago
parent
commit
dad65c5e03
1 changed files with 5 additions and 7 deletions
  1. 5 7
      js/Desktop/Onload.js

+ 5 - 7
js/Desktop/Onload.js

@@ -297,13 +297,11 @@ U.MD.D.getuser = function () {
                                     $("#U_MD_HomeC_Pop")[0].close(); //关闭登陆
                                 }
                                 U.MD.D.isLogin();
-                                // setTimeout(() => {
-                                //     U.A.Request(US.Config.pbl + "selectUser?uid=" + US.user.userid, [], function (res) {
-                                //         if (res.length == 0) {
-                                //             U.MD.D.I.openInApplication("my")
-                                //         }
-                                //     }, [], { "type": "GET", "withCredentials": true });
-                                // }, 1000);
+                                U.A.Request(US.Config.pbl + "selectUser?userid=" + US.user.userid, [], function (res) {
+                                    if (res.value[0].length == 0) {
+                                        U.MD.D.I.openApplication("my")
+                                    }
+                                }, [], { "type": "GET", "withCredentials": true });
                             }
                         }, [], { "type": "GET", "withCredentials": true });
                     }