king
2020-02-27 822bc67061448c6e3a1eb77d39be4ad2b84b416a
src/tabviews/tableshare/topSearch/index.jsx
@@ -43,14 +43,16 @@
      _list.push(item)
    })
    let error = false
    _list = _list.map(item => {
      if (item.type === 'link') {
        let supItem = _list.filter(form => form.field === item.linkField)[0]
        
        if (!supItem) {
          error = true
          notification.warning({
            top: 92,
            message: '未查询到搜索条件《' + item.label + '》关联字段!',
            duration: 10
          })
        } else {
          item.options = item.oriOptions.filter(option => option.parentId === supItem.initval)
        }
@@ -58,14 +60,6 @@
      return item
    })
    if (error) {
      notification.warning({
        top: 92,
        message: '关联菜单设置错误!',
        duration: 10
      })
    }
    this.setState({
      match: match,