From 2d3f82c3e07e6acaedbeae8b4ce0849dd588abc6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 29 七月 2020 10:09:32 +0800 Subject: [PATCH] 2020-07-29 --- src/tabviews/zshare/actionList/asyncButtonComponent.jsx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/actionList/asyncButtonComponent.jsx b/src/tabviews/zshare/actionList/asyncButtonComponent.jsx index 695f378..34eb4ca 100644 --- a/src/tabviews/zshare/actionList/asyncButtonComponent.jsx +++ b/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> } } } \ No newline at end of file -- Gitblit v1.8.0