Commit 7e2c3792 authored by taabe's avatar taabe

bug fix

parent 9e28273e
...@@ -264,6 +264,10 @@ class RiskModel extends Component { ...@@ -264,6 +264,10 @@ class RiskModel extends Component {
AmosAlert.warning('提示', '请先点击选择编辑的行'); AmosAlert.warning('提示', '请先点击选择编辑的行');
return; return;
} }
if (selectedRowKeys.length > 1){
AmosAlert.warning('提示', '请选择一条记录进行编辑');
return;
}
this.setOpenModelParam(activeKey, subActiveKey, toolBarFlag); this.setOpenModelParam(activeKey, subActiveKey, toolBarFlag);
} else if (toolBarFlag === '3') {//删除 } else if (toolBarFlag === '3') {//删除
let selectedRowKeys, selectedRows; let selectedRowKeys, selectedRows;
......
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