Commit f7cac020 by zhaochengxiang

删除警告

parent 0bf01bc7
......@@ -7,7 +7,7 @@ import classnames from 'classnames';
import { dispatch } from '../../../../model';
import { showMessage, getQueryParam, paginate, isSzseEnv } from '../../../../util';
import { AnchorId, AnchorTimestamp, Action, CatalogId, ModelerId } from '../../../../util/constant';
import Tag from "../../Tag";
// import Tag from "../../Tag";
import './ModelTable.less';
......@@ -17,7 +17,7 @@ const ModelTable = (props) => {
const [ selectedRowKeys, setSelectedRowKeys ] = useState([]);
const [ subSelectedRowKeys, setSubSelectedRowKeys ] = useState([]);
const [ mouseEnterKey, setMouseEnterKey ] = useState(null);
// const [ mouseEnterKey, setMouseEnterKey ] = useState(null);
const [ subData, setSubData ] = useState([]);
const moreMenu = (record) => {
......
import React, { useEffect, useState } from 'react';
import { Table, Button, Tooltip, Modal, Divider } from 'antd';
import { Action, TemplateId } from '../../../../util/constant';
import { dispatch } from '../../../../model';
import { showMessage } from '../../../../util';
import UpdatePartitionModal from './UpdatePartitionModal';
......
......@@ -2,7 +2,6 @@ import React, { useEffect, useState } from 'react';
import { Modal, Form, Input } from 'antd';
import { dispatch } from '../../../../model';
import { showNotifaction } from '../../../../util';
const UpdatePartitionModal = (props) => {
const { visible, onCancel, item, action = 'add' } = props;
......@@ -29,6 +28,7 @@ const UpdatePartitionModal = (props) => {
}
}
//eslint-disable-next-line react-hooks/exhaustive-deps
}, [visible])
const handleOk = async () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment