From 41c55c1f103658b997f7a828a7067bdb228f1df0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 04 十月 2022 23:35:10 +0800
Subject: [PATCH] 2022-10-04

---
 src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx b/src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx
index 9c160c8..b4313e8 100644
--- a/src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx
+++ b/src/tabviews/custom/components/card/cardcellList/asyncButtonComponent.jsx
@@ -1,6 +1,4 @@
 import React, {Component} from 'react'
-import { Button } from 'antd'
-
 /**
  * @description 寮傛鍔犺浇妯″潡
  * @param {*} importComponent
@@ -24,11 +22,8 @@
     // <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={'mk-btn mk-' + btn.class} type={btn.show !== 'button' ? 'link' : ''} icon={btn.icon} disabled={true} >{btn.label}</Button>
+      return C ? <C {...this.props} /> : null
     }
   }
 }
\ No newline at end of file

--
Gitblit v1.8.0