■ ■ ■ ■ ■ ■
web/src/pages/provider/index.tsx
1 | 1 | | import React, {useRef, useState} from "react"; |
2 | 2 | | import {PageContainer, ProTable, ActionType, ProColumns} from "@ant-design/pro-components"; |
3 | | - | import {Button, Popconfirm} from "antd"; |
| 3 | + | import {Button, Popconfirm, Badge, Tooltip} from "antd"; |
4 | 4 | | import {PlusOutlined} from "@ant-design/icons"; |
5 | 5 | | import {getCloudProvider} from "@/services/cloud/api"; |
6 | 6 | | import {handleCreateCloud, handleDeleteCloud, handleSyncCloud, handleUpdateCloud} from './handle'; |
7 | 7 | | import {CloudProvideTypeEnum, CloudProviderStatusEnum} from "@/enum/cloud"; |
8 | 8 | | import CreateForm from './components/CreateForm'; |
9 | 9 | | import DetailDrawer from "./components/DetailDrawer"; |
10 | | - | import {Badge, Tooltip} from "[email protected]@antd"; |
11 | 10 | | |
12 | 11 | | const Provider: React.FC = () => { |
13 | 12 | | |
| skipped 197 lines |