king
2022-10-25 5891206952e2ff63e87aed2f47df5324b019d32e
src/menu/components/table/edit-table/columns/index.jsx
@@ -262,14 +262,12 @@
    let _columns = fromJS(this.state.columns).toJS()
    let type = item.subType
    if (item.subType === 'link' || item.subType === 'colspan' || item.subType === 'picture') {
    if (!['text', 'number', 'textarea', 'custom', 'action', 'formula', 'index'].includes(item.subType)) {
      type = 'text'
    }
    let col = { focus: true, uuid: Utils.getuuid(), label: 'label', field: '', type: type, elements: [] }
    if (col.type === 'colspan') {
      col.subcols = []
    } else if (col.type === 'action') {
    if (col.type === 'action') {
      col.label = '操作'
    } else if (col.type === 'index') {
      col.label = '序号'