完成管理员管理

This commit is contained in:
augushong
2019-10-05 21:30:05 +08:00
parent 0db279315c
commit 79a78a889e
9 changed files with 392 additions and 36 deletions

View File

@@ -54,7 +54,7 @@
<div class="layui-input-block">
<input type="text" name="captcha" required lay-verify="required"
placeholder="请输入验证码" autocomplete="off" class="layui-input">
<img src="/api/Captcha/build" onclick="this.src = '/api/Captcha/build?v='+Math.random()" style="cursor: pointer" alt="">
<img class="captcha" src="/api/Captcha/build" onclick="this.src = '/api/Captcha/build?v='+Math.random()" style="cursor: pointer" alt="">
</div>
</div>
@@ -91,6 +91,7 @@
location.href = '{:url("admin/Index/index")}'
}, 1200);
}else{
$('.captcha').click()
layer.msg(result.msg);
}
})