From e3bf485afc8928b0fdc58fbcbced66b25ff31cd0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 27 一月 2025 22:44:10 +0800 Subject: [PATCH] 2025-01-27 --- src/menu/components/module/account/index.jsx | 2 ++ src/menu/pastecontroller/index.jsx | 3 +++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/menu/components/module/account/index.jsx b/src/menu/components/module/account/index.jsx index 3ddeffa..098ad7f 100644 --- a/src/menu/components/module/account/index.jsx +++ b/src/menu/components/module/account/index.jsx @@ -11,6 +11,7 @@ import './index.scss' +const CopyComponent = asyncIconComponent(() => import('@/menu/components/share/copycomponent')) const NormalForm = asyncIconComponent(() => import('@/components/normalform')) class Account extends Component { @@ -129,6 +130,7 @@ <NormalForm title="鍩烘湰璁剧疆" width={800} update={this.updateWrap} getForms={this.getWrapForms}> <EditOutlined style={{color: '#1890ff'}} title="缂栬緫"/> </NormalForm> + <CopyComponent type="account" card={card}/> <FontColorsOutlined className="style" title="璋冩暣鏍峰紡" onClick={this.changeStyle}/> <DeleteOutlined className="close" title="鍒犻櫎缁勪欢" onClick={() => this.props.deletecomponent(card.uuid)} /> </div> diff --git a/src/menu/pastecontroller/index.jsx b/src/menu/pastecontroller/index.jsx index 51b273d..a6d11d5 100644 --- a/src/menu/pastecontroller/index.jsx +++ b/src/menu/pastecontroller/index.jsx @@ -274,6 +274,9 @@ } } else { options.push('editable', 'mainsearch', 'antvG6', 'antvX6', 'calendar', 'tree', 'dashboard', 'chart') + if (appType !== 'pc') { + options.push('account') + } } } else { if (appType === 'mob') { -- Gitblit v1.8.0