king
2020-11-13 dfb7b774d9934f4f5b3edf1a39bf73be9c90c55d
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>
    }
  }
}