src/tabviews/commontable/index.jsx
@@ -1054,13 +1054,17 @@ * @param {*} position // 刷新位置 * @param {*} btn // 执行的按钮 */ refreshByButtonResult = (menuId, position, btn) => { refreshByButtonResult = (menuId, position, btn, id, lines) => { const { MenuID } = this.props if (MenuID !== menuId) return if (position === 'line' && lines && lines.length === 1) { this.loadmainLinedata(lines[0].$$uuid) } else { this.reloadtable(btn) } } UNSAFE_componentWillMount () { // 组件加载时,获取菜单数据