Commit 98de9519 by zhaochengxiang

衍生表问题

parent 963d9aba
......@@ -5,6 +5,7 @@ import LocalStorage from 'local-storage';
import ImportAction from "./ImportAction";
import { inheritanceHistoricalType, inheritanceZipperType } from "./ImportActionRelation";
import { dispatch } from '../../../../model';
import { showMessage } from "../../../../util";
const FC = (props) => {
const { visible, modelerData, onCancel } = props;
......@@ -89,6 +90,7 @@ const FC = (props) => {
LocalStorage.set('modelChange', !(LocalStorage.get('modelChange')||false));
showMessage('success', '保存成功')
onCancel?.(true);
},
error: () => {
......
......@@ -546,6 +546,7 @@ const EditModel = (props) => {
return;
}
setActionData({ ...actionData, action: 'edit-inherited' });
setEditInheritedParms({visible: true, modelerData});
}}
ghost
......@@ -638,7 +639,8 @@ const EditModel = (props) => {
showMessage("warn", '正在加载中,请稍后!');
return;
}
setActionData({ ...actionData, action: 'edit-inherited' });
setEditInheritedParms({visible: true, modelerData});
}}
ghost
......
......@@ -35,6 +35,8 @@ const RecatalogModal = (props) => {
if ((message||'')!=='' && (message||'')!=='ok') {
showNotifaction('提示', message, 5);
} else {
showMessage('success', '变更目录成功');
}
reset();
......
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