一键查询用户信息表
query.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>query</title>
<script src="/static/js/common.js"></script>
<script src="/static/js/jquery-3.3.1.min.js"></script>
<script src="/static/js/query.js"></script>
</head>
<body>
<button id="query">查询</button>
</body>
</html>
query.js
$(function () {
$("#query").click(function () {
// console.log();
let xhr = Xhr();
xhr.open("get", "/qus", true);
xhr.onreadystatechange = function () {
if (this.status === 200 && this.readyState === XMLHttpRequest.DONE) {
// 如果没有table标签,则创建
if ($(&#