src/menu/modalconfig/index.jsx
@@ -405,10 +405,9 @@ * 3、检查表单中的已选字段,并标记已选 */ queryField = () => { const { menu } = this.props const { config } = this.state if (menu.tables.length === 0) { if (window.GLOB.tableFields.length === 0) { notification.warning({ top: 92, message: '请选择表名!', @@ -418,7 +417,7 @@ } let columns = new Map() menu.tableFields.forEach(table => { window.GLOB.tableFields.forEach(table => { table.columns.forEach(column => { columns.set(column.field, column) })