diff --git a/src/components/table.jsx b/src/components/table.jsx index 5afa7fd..420825f 100644 --- a/src/components/table.jsx +++ b/src/components/table.jsx @@ -16,7 +16,7 @@ import { IconColorPalette, } from "@douyinfe/semi-icons"; import { - // Modal, + Popconfirm, Select, Card, Form, @@ -731,14 +731,10 @@ export default function Table(props) {
{hoveredField === index ? ( - + }) + } + onCancel={() => {}} + > + + ) : ( fieldData.type )} diff --git a/src/index.js b/src/index.js index d563c0f..eb2c18d 100644 --- a/src/index.js +++ b/src/index.js @@ -1,13 +1,17 @@ -import React from 'react'; -import ReactDOM from 'react-dom/client'; -import './index.css'; -import App from './App'; -import reportWebVitals from './reportWebVitals'; +import React from "react"; +import ReactDOM from "react-dom/client"; +import "./index.css"; +import App from "./App"; +import reportWebVitals from "./reportWebVitals"; +import { LocaleProvider } from "@douyinfe/semi-ui"; +import en_US from "@douyinfe/semi-ui/lib/es/locale/source/en_US"; -const root = ReactDOM.createRoot(document.getElementById('root')); +const root = ReactDOM.createRoot(document.getElementById("root")); root.render( - + + + );