From 16145059198ba7c7ff8a73f4ac207d3ba2269e5a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 13 四月 2021 20:25:31 +0800 Subject: [PATCH] 2021-04-13 --- src/menu/components/card/table-card/index.jsx | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/menu/components/card/table-card/index.jsx b/src/menu/components/card/table-card/index.jsx index 3d0d5c7..f38edf0 100644 --- a/src/menu/components/card/table-card/index.jsx +++ b/src/menu/components/card/table-card/index.jsx @@ -33,6 +33,7 @@ state = { dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, card: null, + ismob: sessionStorage.getItem('appType') === 'mob', back: false } @@ -322,7 +323,7 @@ } render() { - const { card } = this.state + const { card, ismob } = this.state let _style = resetStyle(card.style) return ( @@ -331,7 +332,7 @@ <Popover overlayClassName="mk-popover-control-wrap" mouseLeaveDelay={0.2} mouseEnterDelay={0.2} content={ <div className="mk-popover-control"> <Icon className="plus" title="娣诲姞鍗$墖" onClick={this.addCard} type="plus" /> - <Icon className="plus" title="娣诲姞鎼滅储" onClick={this.addSearch} type="plus-circle" /> + {!ismob ? <Icon className="plus" title="娣诲姞鎼滅储" onClick={this.addSearch} type="plus-circle" /> : null} <WrapComponent config={card} updateConfig={this.updateComponent} /> <CopyComponent type="tablecard" card={card}/> <PasteComponent config={card} options={['cardcell', 'search', 'form']} updateConfig={this.updateComponent} /> -- Gitblit v1.8.0