From fbe73d1e8059897587dff463ca1b2d43165885c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=B0=8F=E6=96=90?= <623536309@qq.com> Date: Mon, 24 Apr 2023 14:29:26 +0800 Subject: [PATCH] fix: plugin-manage and designable-switch add tooltip (#1749) --- .../core/client/src/pm/PluginManagerLink.tsx | 18 +++++++------- .../core/DesignableSwitch.tsx | 24 ++++++++++--------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/packages/core/client/src/pm/PluginManagerLink.tsx b/packages/core/client/src/pm/PluginManagerLink.tsx index 4192d3250..47bb7deec 100644 --- a/packages/core/client/src/pm/PluginManagerLink.tsx +++ b/packages/core/client/src/pm/PluginManagerLink.tsx @@ -1,5 +1,5 @@ import { ApiOutlined, SettingOutlined } from '@ant-design/icons'; -import { Button, Dropdown, Menu } from 'antd'; +import { Button, Dropdown, Menu, Tooltip } from 'antd'; import React, { useContext, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { useHistory } from 'react-router-dom'; @@ -11,13 +11,15 @@ export const PluginManagerLink = () => { const { t } = useTranslation(); const history = useHistory(); return ( -