king
2021-03-09 5c509746d48f326157542a784fd6d645e2dc9ae6
src/pc/components/navbar/normal-navbar/index.jsx
@@ -101,22 +101,6 @@
    this.props.updateConfig(component)
  }
  /**
   * @description 单个卡片信息更新
   */
  updateCard = (cell) => {
    let card = fromJS(this.state.card).toJS()
    card.subcards = card.subcards.map(item => {
      if (item.uuid === cell.uuid) return cell
      return item
    })
    this.setState({card})
    this.props.updateConfig(card)
  }
  getStyle = (comIds, style) => {
    const { card } = this.state