Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 37d7644

Browse files
committed
update
1 parent 5d91361 commit 37d7644

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

‎src/pages/System/MenuAdmin/index.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ function MenuAdminContainer() {
7575
const dispatch = useDispatch<Dispatch>();
7676

7777
const [form] = Form.useForm();
78-
7978
const [data, setData] = useState<Menu[]>([]); // 所有的菜单数据(未分层级)
8079
const [loading, setLoading] = useState<boolean>(false); // 数据是否正在加载中
8180

‎src/pages/System/PowerAdmin/index.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ function PowerAdminContainer() {
7777
const p = useSelector((state: RootState) => state.app.powersCode);
7878
const roles = useSelector((state: RootState) => state.sys.roles);
7979
const userinfo = useSelector((state: RootState) => state.app.userinfo);
80-
const [form] = Form.useForm();
8180

81+
const [form] = Form.useForm();
8282
const [data, setData] = useState<Power[]>([]); // 当前所选菜单下的权限数据
8383
const [loading, setLoading] = useState<boolean>(false); // 数据是否正在加载中
8484

‎src/pages/System/RoleAdmin/index.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ function RoleAdminContainer() {
8484
);
8585

8686
const [form] = Form.useForm();
87-
8887
const [data, setData] = useState<Role[]>([]); // 当前页面列表数据
8988
const [loading, setLoading] = useState<boolean>(false); // 数据是否正在加载中
9089

‎src/pages/System/UserAdmin/index.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,9 @@ import "./index.less";
7676
// ==================
7777
function UserAdminContainer(): JSX.Element {
7878
const dispatch = useDispatch<Dispatch>();
79-
const powerTreeData = useSelector(
80-
(state: RootState) => state.sys.powerTreeData
81-
);
8279
const userinfo = useSelector((state: RootState) => state.app.userinfo);
8380
const p = useSelector((state: RootState) => state.app.powersCode);
81+
8482
const [form] = Form.useForm();
8583
const [data, setData] = useState<TableRecordData[]>([]); // 当前页面列表数据
8684
const [loading, setLoading] = useState(false); // 数据是否正在加载中

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /