king
2025-03-11 c0f61b1955b21968014dbb65e424436d4738eb06
src/menu/datasource/index.jsx
@@ -139,7 +139,7 @@
    const { config } = this.props
    this.setState({loading: true})
    this.verifyRef.submitDataSource().then(res => {
    this.verifyRef.submitDataSource().then((res, hasMSearch) => {
      let MenuType = sessionStorage.getItem('MenuType')
@@ -339,6 +339,13 @@
          MKEmitter.emit('mkUpdateInter', {uuid: config.uuid, columns: res.columns}, {delay: 0})
        }, 150)
      }
      if (config.type === 'interface' && res.setting && res.setting.useMSearch === 'true' && !hasMSearch) {
        Modal.warning({
          title: '数据源中使用了外部搜索,但搜索条件尚未添加!',
          centered: true
        })
      }
    }, () => {
      this.setState({loading: false})
    })