浏览代码

feat:申请ib

ljc 2 月之前
父节点
当前提交
9e3eb64821
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      components/IbInfo.vue

+ 6 - 2
components/IbInfo.vue

@@ -297,7 +297,8 @@ icon: 'none'})
     if (res.code == Code.StatusOK) {
       uni.showToast({title: t("Msg.Success"),icon: 'none'})
       getLoginInfo();
-      reload();
+      dialogApplyIb.value.close()
+      // reload();
     }
   }
 
@@ -325,7 +326,10 @@ icon: 'none'})
   }
 
   onMounted(() => {
-    getLogin()
+  // 进入ib相关页面时,请求
+    if (route.path.indexOf('pages/ib/') !== -1) {
+      getLogin()
+    }
     // dialogApplyIb.value.open()
   })