update: unify
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
import { X } from "lucide-react";
|
||||
import { Plus, Search, X } from "lucide-react";
|
||||
import { ApiRequestError, type Employee, type Role } from "../../services/api";
|
||||
import { useApi, useAuth } from "../../context/AuthContext";
|
||||
import Icon from "../../components/common/Icon";
|
||||
import { Button } from "~/components/ui/button";
|
||||
import { Input } from "~/components/ui/input";
|
||||
import {
|
||||
@@ -198,7 +197,7 @@ export function UserManagementPage({
|
||||
<section className="admin-page">
|
||||
<div className="admin-toolbar">
|
||||
<div className="admin-toolbar__search">
|
||||
<Icon name="search" size={14} />
|
||||
<Search size={14} />
|
||||
<input
|
||||
type="text"
|
||||
placeholder="请输入用户名"
|
||||
@@ -215,7 +214,7 @@ export function UserManagementPage({
|
||||
onClick={openCreate}
|
||||
className={PRIMARY_BUTTON_CLASS}
|
||||
>
|
||||
<Icon name="plus" size={15} />
|
||||
<Plus size={15} />
|
||||
新建用户
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user