diff --git a/src/components/Common/PersonCenter/MenuSearchPopovor.js b/src/components/Common/PersonCenter/MenuSearchPopovor.js index 2d9d234..6934232 100644 --- a/src/components/Common/PersonCenter/MenuSearchPopovor.js +++ b/src/components/Common/PersonCenter/MenuSearchPopovor.js @@ -6,6 +6,7 @@ import { Modal, message } from 'antd-v4'; import { AutoComplete, Input } from "antd-v4"; import * as commonUtils from "@/utils/utils"; /* 通用方法 */ import config from '@/utils/config'; +import * as commonFunc from "@/components/Common/commonFunc"; const MenuSearchPopovor = props => { const { menuPanel, onSetMenuSearchPopoverVisible, onAddPane, app, dispatch, updateMenuPanel } = useMemo( @@ -141,6 +142,8 @@ const MenuSearchPopovor = props => { return [...commonlyUsedOption, ...options]; }, [menuPanel.panelMenus]); + const searchTitle = commonFunc.showMessage(app.commonConst, 'btnSearch') || '搜索122'; + return (