src/templates/zshare/editTable/index.jsx
@@ -385,14 +385,14 @@ } clear = () => { const _this = this const that = this confirm({ title: '确定清空列表吗?', content: '', onOk() { _this.setState({ data: [], editingKey: '' }, () => { _this.props.onChange([]) that.setState({ data: [], editingKey: '' }, () => { that.props.onChange([]) }) }, onCancel() {}