chromesetting
杨树林 5 years ago
parent 6043704e9a
commit 41afb795a7

@ -314,12 +314,14 @@ class TPMDataset extends Component {
} }
deleteRemovedata(){ deleteRemovedata(){
if(this.state.selectedRowKeysdata===undefined || this.state.selectedRowKeysdata===null ||this.state.selectedRowKeysdata.length===0){ if(this.state.selectedRowKeysdata===undefined || this.state.selectedRowKeysdata===null ||this.state.selectedRowKeysdata.length===0){
this.props.showNotification(`请选择要删除的文件`); this.props.showNotification(`请选择要删除的文件`);
return return
} }
confirm({ confirm({
title: '确定要删除文件吗?', title: '确定要删除文件吗?',
okText: '确定', okText: '确定',

Loading…
Cancel
Save