Commit 03c06d8e by wufan Committed by zhangleyuan

feat:修复用户管理分页查询问题

parent 1c8aff4e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: wufan * @Author: wufan
* @Date: 2020-11-30 10:47:38 * @Date: 2020-11-30 10:47:38
* @LastEditors: wufan * @LastEditors: wufan
* @LastEditTime: 2020-12-09 20:16:53 * @LastEditTime: 2020-12-10 10:30:45
* @Description: 用户管理页面 * @Description: 用户管理页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -108,11 +108,11 @@ function UserManagePage() { ...@@ -108,11 +108,11 @@ function UserManagePage() {
const isPhone = (value || "").match(/^\d+$/); const isPhone = (value || "").match(/^\d+$/);
const name = isPhone ? "phone" : "nickName"; const name = isPhone ? "phone" : "nickName";
_query[name] = value; _query[name] = value;
_query.current = 1; _query.current = 0;
} else { } else {
_query.nickName = ""; _query.nickName = "";
_query.phone = ""; _query.phone = "";
_query.current = 1; _query.current = 0;
} }
setQuery(_query); setQuery(_query);
}} }}
......
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