Quellcode durchsuchen

feta 修改页面内容

Young vor 4 Monaten
Ursprung
Commit
03251188a7
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 2 2
      src/pages/Settings/Menu.tsx
  2. 2 2
      src/pages/Settings/Role.tsx

+ 2 - 2
src/pages/Settings/Menu.tsx

@@ -8,8 +8,8 @@ import {
   ProFormTreeSelect,
   ProTable,
 } from '@ant-design/pro-components';
-import {Button, Card, Modal, TreeSelect} from 'antd';
-import React, {useEffect, useRef, useState} from 'react';
+import {Button, Card, Modal} from 'antd';
+import React, {useRef} from 'react';
 import {AddOutline} from 'antd-mobile-icons';
 import {EditBundle, useEdit} from '@/core/hooks/useEdit';
 import {invoke} from '@/core/network';

+ 2 - 2
src/pages/Settings/Role.tsx

@@ -5,8 +5,8 @@ import {
   ProFormText, ProFormTreeSelect,
   ProTable,
 } from '@ant-design/pro-components';
-import {Button, Card, Modal, TreeSelect} from 'antd';
-import React, {useEffect, useRef, useState} from 'react';
+import {Button, Card, Modal} from 'antd';
+import React, {useRef} from 'react';
 import {AddOutline} from 'antd-mobile-icons';
 import {EditBundle, useEdit} from '@/core/hooks/useEdit';
 import {invoke} from '@/core/network';