Commit 605b390a by zhaochengxiang

标签

parent b6aba012
......@@ -138,7 +138,7 @@ const ModelTable = (props) => {
}),
render: (_,record) => {
return (
record.id===mouseEnterKey?<Tag styleType='complex' />:<Tag />
record.id===mouseEnterKey?<Tag styleType='complex' id={record.id} />:<Tag id={record.id} />
);
}
},
......
......@@ -6,7 +6,7 @@ import AddTagModal from './Component/AddTagModal';
import { dispatch } from '../../../model';
const TagColumn = (props) => {
const { id = '619dd97e9e14e63b24b1dbc2-1', type = 'dataModel', creator = 'demotest', styleType = 'simple' } = props;
const { id, type = 'dataModel', creator = 'demotest', styleType = 'simple' } = props;
const [ ownTags, setOwnTags ] = useState([]);
const [ addTagModalVisible, setAddTagModalVisible ] = useState(false);
......
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