From 70ceda9903d2f8f08067949f63b598430aff436a Mon Sep 17 00:00:00 2001 From: wkj <278599135@qq.com> Date: Thu, 27 Oct 2022 10:57:09 +0800 Subject: [PATCH] =?UTF-8?q?debugpanel=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../func/debugPanel/web.module.less | 4 - src/components/func/debugPanel/web.tsx | 208 ++++++++++-------- 2 files changed, 117 insertions(+), 95 deletions(-) diff --git a/src/components/func/debugPanel/web.module.less b/src/components/func/debugPanel/web.module.less index ab16b7613..e0ba4cdf1 100644 --- a/src/components/func/debugPanel/web.module.less +++ b/src/components/func/debugPanel/web.module.less @@ -1,9 +1,5 @@ .container { - height: 100vh; display: flex; - flex-direction: column; - justify-content: 'center'; - align-items: 'center'; } diff --git a/src/components/func/debugPanel/web.tsx b/src/components/func/debugPanel/web.tsx index 74c0714ba..a7b1ae9d7 100644 --- a/src/components/func/debugPanel/web.tsx +++ b/src/components/func/debugPanel/web.tsx @@ -1,7 +1,6 @@ import React from 'react'; -import { Button, Space, Drawer, DialogPlugin } from 'tdesign-react'; -import { ChevronUpIcon } from 'tdesign-icons-react'; -// import { saveAs } from 'file-saver'; +import { Button, Space, Drawer, Modal, Tooltip } from 'antd'; +import { UpOutlined } from '@ant-design/icons'; export default function render(this: any) { const { placement = 'bottom', style = {} } = this.props; @@ -9,14 +8,14 @@ export default function render(this: any) { return ( - - - + + + + + + + - - + + + + + + + + + + + + +