src/menu/datasource/index.jsx
@@ -32,11 +32,6 @@ const { config } = this.props const { appType } = this.state if (config.type === 'interface') { // 公共数据源不使用搜索 this.setState({visible: true}) return } let search = [] let menu = fromJS(window.GLOB.customMenu).toJS() @@ -95,6 +90,11 @@ }) }) } } else if (config.type === 'interface') { menu.components.forEach(item => { if (item.type !== 'search') return search = item.search }) } else { let filterComponent = (box, mainSearch) => { box.components.forEach(item => {