[improvement][headless-fe] code stash

This commit is contained in:
tristanliu
2024-11-28 20:29:12 +08:00
parent c80794e8fc
commit b4669cf110
34 changed files with 991 additions and 664 deletions

View File

@@ -11,6 +11,7 @@ import TableHeaderFilter from '@/components/TableHeaderFilter';
import moment from 'moment';
import styles from './style.less';
import { ISemantic } from '../data';
import { toModelList } from '@/pages/SemanticModel/utils';
type Props = {
disabledEdit?: boolean;
@@ -105,9 +106,7 @@ const ModelTable: React.FC<Props> = ({ modelList, disabledEdit = false, onModelC
<a
onClick={() => {
setSelectModel(record);
history.push(`/model/domain/manager/${domainId}/${id}`);
// onModelChange?.(record);
toModelList(domainId, id);
}}
>
{_}