king
2020-12-31 b2135fbd0b72d60f392bb75f0356aa727654d2f9
src/tabviews/zshare/actionList/asyncButtonComponent.jsx
@@ -21,12 +21,14 @@
      this.setState({component})
    }
    // <Button className="loading-skeleton" disabled={true}></Button> // 骨架按钮
    render() {
      const C = this.state.component
      const btn = this.props.btn || {}
      return C ?
        <C {...this.props} /> :
        <Button className="loading-skeleton" disabled={true}></Button>
        <Button className={'mk-btn mk-' + btn.class} icon={btn.icon} disabled={true} >{btn.label}</Button>
    }
  }
}