Commit b7eae43e by wufan

fix:修复用户搜索参数问题

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