src/views/printTemplate/index.jsx
@@ -767,7 +767,7 @@ } deleteItem = () => { const _this = this const that = this const { editItemId, config } = this.state confirm({ @@ -777,13 +777,13 @@ onOk() { config.elements = config.elements.filter(item => item.uuid !== editItemId) _this.setState({ that.setState({ config: config, editItemId: config.uuid, editItemType: config.type, formlist: getpageform(config) }, () => { _this.resetview() that.resetview() }) }, onCancel() {}