Commit c1597939 authored by shanqiyun's avatar shanqiyun

bug

parent a52b655c
......@@ -119,7 +119,7 @@ class LeaderStructModel extends Component {
this.form.validate((valid, dataValues) => {
if (valid) {
let { form } = this.state;
form.nodeid = node.nodeid;
form.nodeid = node.id;
form.nodekey = node.key;
// this.nodeDetailEdit(form);
form.nodeDetail = JSON.stringify(form.nodeDetail);
......
......@@ -281,6 +281,9 @@ class LeaderStruct extends Component {
nodeDataArray: data.nodeData || [],
linkDataArray: data.linkData || []
});
if(nodeDetail){
this.setState({ rightGridData:JSON.parse(nodeDetail.nodeDetail) });
}
}).catch(e => {
AmosAlert.error('错误', '保存失败');
});;
......
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