From b1378d6cd0229ecb53621138c597689df0fd3c5c Mon Sep 17 00:00:00 2001 From: pixel <303176530@qq.com> Date: Tue, 17 Mar 2020 17:55:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=BB=93=E6=9E=84=E6=95=B4?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QMPlusVuePage/src/api/user.js | 18 +----------------- QMPlusVuePage/src/view/login/login.vue | 1 - 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/QMPlusVuePage/src/api/user.js b/QMPlusVuePage/src/api/user.js index f7a098b6..d503d993 100644 --- a/QMPlusVuePage/src/api/user.js +++ b/QMPlusVuePage/src/api/user.js @@ -77,20 +77,4 @@ export const setUserAuthority = (data) => { method: 'post', data: data }) -} - -// @Tags User -// @Summary 验证码 -// @Security ApiKeyAuth -// @accept application/json -// @Produce application/json -// @Param data body api.SetUserAuth true "设置用户权限" -// @Success 200 {string} json "{"success":true,"data":{},"msg":"修改成功"}" -// @Router /user/setUserAuthority [post] -export const captcha = (data) => { - return service({ - url: "/base/captcha", - method: 'post', - data: data - }) -} +} \ No newline at end of file diff --git a/QMPlusVuePage/src/view/login/login.vue b/QMPlusVuePage/src/view/login/login.vue index 0b7d168b..f84a81d9 100644 --- a/QMPlusVuePage/src/view/login/login.vue +++ b/QMPlusVuePage/src/view/login/login.vue @@ -98,7 +98,6 @@ export default { this.lock === 'lock' ? (this.lock = 'unlock') : (this.lock = 'lock') }, loginVefify() { - console.log(this.logVerify) captcha({}).then(ele=>{ this.picPath = ele.data.picPath this.loginForm.captchaId = ele.data.captchaId