瀏覽代碼

Merge branch 'bugFix'

huangbin 4 年之前
父節點
當前提交
e8fda3a42d
共有 2 個文件被更改,包括 7 次插入7 次删除
  1. 6 6
      src/services/socket/login/index.ts
  2. 1 1
      src/views/account/login.vue

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

@@ -44,12 +44,12 @@ export const logoutResponse = (): Promise<void> => {
             const package50 = buildProtoReq50(params);
             const package50 = buildProtoReq50(params);
             APP.sendTradingServer(package50, undefined, {
             APP.sendTradingServer(package50, undefined, {
                 onSuccess: (res) => {
                 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) => {
                 onFail: (err) => {
                     // reject(err);
                     // reject(err);

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

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