king
2023-07-09 6615b440d5b17a86aba9f557627e3bdbc4b8c85e
src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -557,6 +557,29 @@
      return col
    })
    if (data && data[0]) {
      let errors = []
      columns.forEach(col => {
        if (col.Column && data[0][col.Column] === undefined) {
          errors.push(col.Text)
        }
      })
      if (errors.length) {
        notification.error({
          top: 92,
          message: '数据中缺少字段:' + errors.join('、'),
          duration: 5
        })
        this.setState({
          loading: false
        })
        return
      }
    }
    
    try {
      if (imgCol) {