king
2024-08-25 326aa6b3effaccc71cfe0775d47b0f29eb3695a6
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() {}