Sfoglia il codice sorgente

feta 修改页面内容

Young 4 mesi fa
parent
commit
03251188a7
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  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';