Commit 4c2e6156 by wufan

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

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