king
2024-12-23 65c9d768ad5bbb8d01babc4435801b0cb39c9b06
src/templates/zshare/editTable/index.jsx
@@ -526,7 +526,12 @@
      if (!unique) return
      data.unshift(res.data)
      if (type === 'excelcolumn') {
        data.push(res.data)
      } else {
        data.unshift(res.data)
      }
      this.setState({ data, editingKey: '', editLineId: res.data.uuid || '' }, () => {
        this.props.onChange(data)
      })