 <label>
            <button type="reset" value="remember-me" onclick="reset()"> 重置</button>
        </label>
    </div>
    <button class="btn btn-lg btn-primary btn-block" type="submit" onclick="login()">登录</button>
    <p class="mt-5 mb-3 text-muted" align="center">&copy; 2018-2019</p>

</form>
</body>
<script>
    function login() {
        $("#loginForm").validate({
            submitHandler: function (form) {
                doLogin();
            }
        });
    }

    function doLogin() {
