Commit 2ccf5885 authored by 李丹's avatar 李丹

验证码图片大小调整

parent 6b0ff397
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class="login_forms" class="login_forms"
> >
<el-form-item> <el-form-item>
<p class="item_p">账号11</p> <p class="item_p">账号</p>
<el-input <el-input
v-model.trim="form.userid" v-model.trim="form.userid"
autofocus="autofocus" autofocus="autofocus"
......
...@@ -22,7 +22,7 @@ const general = { ...@@ -22,7 +22,7 @@ const general = {
// 获取验证码 // 获取验证码
getrandomCode() { getrandomCode() {
return axios.get(`/iam/api/getCaptcha`); return axios.get(`/iam/api/getCaptcha?width=240&height=60`);
}, },
// 校验验证码 // 校验验证码
validateRandomCode(id, value) { validateRandomCode(id, value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment