From 3ad5e6df619db267e10ec9435066f143cfd55ae0 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期五, 22 四月 2022 16:30:06 +0800 Subject: [PATCH] login type code --- src/api/login.js | 3 +-- src/views/login/components/loginForm.vue | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/api/login.js b/src/api/login.js index f657c0c..14e0413 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -40,8 +40,7 @@ export const getMenuPermission = () => { return request({ - url: "/saas/api-u/user/menuPermissions ", - + url: "/saas/api-u/user/menuPermissions", method: "get", }); }; diff --git a/src/views/login/components/loginForm.vue b/src/views/login/components/loginForm.vue index be923d7..b1ac15a 100644 --- a/src/views/login/components/loginForm.vue +++ b/src/views/login/components/loginForm.vue @@ -239,7 +239,7 @@ this.codeDisabled = true; this.getValidStr(); this.timer = setInterval(this.getValidStr, 1000); - makeVerifyCode({ phoneNum: this.phone.phoneNum }) + makeVerifyCode({ phoneNum: this.phone.phoneNum, type:0 }) .then(() => { this.gotCode = true; }) -- Gitblit v1.8.0