Young 4 місяців тому
батько
коміт
03251188a7
2 змінених файлів з 4 додано та 4 видалено
  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';