king
2020-08-11 ae6ce73e7abde1121a788f884e54ccd6cfad0460
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>
    }
  }
}