Kaynağa Gözat

Merge branch 'bugFix'

huangbin 4 yıl önce
ebeveyn
işleme
e8fda3a42d

+ 6 - 6
src/services/socket/login/index.ts

@@ -44,12 +44,12 @@ export const logoutResponse = (): Promise<void> => {
             const package50 = buildProtoReq50(params);
             APP.sendTradingServer(package50, undefined, {
                 onSuccess: (res) => {
-                    const { isSuccess, result } = parseProtoRsp50(res, 'LogoutRsp');
-                    if (isSuccess) {
-                        resolve(result);
-                    } else {
-                        reject(result);
-                    }
+                    // const { isSuccess, result } = parseProtoRsp50(res, 'LogoutRsp');
+                    // if (isSuccess) {
+                    //     resolve(result);
+                    // } else {
+                    //     reject(result);
+                    // }
                 },
                 onFail: (err) => {
                     // reject(err);

+ 1 - 1
src/views/account/login.vue

@@ -71,7 +71,7 @@
         </a-row>
         <a-modal
             class="commonModal"
-            v-if="selectedAgreement?.agreementname"
+            v-if="visible"
             :title="selectedAgreement?.agreementname"
             v-model:visible="visible"
             centered