连猛测试环境处理

This commit is contained in:
yunkexin 2024-07-15 09:11:59 +08:00
parent beca6cb675
commit 27607f7634

View File

@ -134,7 +134,7 @@ const SearchBox = (props) => {
}); });
props.history.push({ pathname: `/main/${menu.Node.ID}` }); props.history.push({ pathname: `/main/${menu.Node.ID}` });
setInputVal(""); setInputVal("");
setAutoCompleteData([]) setAutoCompleteData([]);
}; };
if (window.navigator.userAgent.indexOf("Windows") < 1) { if (window.navigator.userAgent.indexOf("Windows") < 1) {
return <span></span>; return <span></span>;
@ -155,7 +155,7 @@ const SearchBox = (props) => {
// hasBorder={false} // hasBorder={false}
// lists={autoCompleteData} // lists={autoCompleteData}
// /> // />
<Dropdown overlay={overMenu} placement="topLeft" trigger={['click']}> <Dropdown overlay={overMenu} placement="topLeft" trigger={["click"]}>
<div className="headerInput"> <div className="headerInput">
{/* <Search {/* <Search
placeholder={"请输入搜索内容"} placeholder={"请输入搜索内容"}
@ -164,7 +164,12 @@ const SearchBox = (props) => {
/> */} /> */}
<Input <Input
placeholder="搜索菜单" placeholder="搜索菜单"
prefix={<Icon type="search" style={{ color: "#909399" ,fontSize:'18px'}} />} prefix={
<Icon
type="search"
style={{ color: "#909399", fontSize: "18px" }}
/>
}
onChange={(e) => { onChange={(e) => {
handleSearchMenu(e); handleSearchMenu(e);
}} }}
@ -373,7 +378,7 @@ const RiskFourColorOpton = (props) => {
}} }}
style={{ margin: "0px 36px", display: "flex", alignItems: "center" }} style={{ margin: "0px 36px", display: "flex", alignItems: "center" }}
> >
<Icon type='global' className='header__right-icon'></Icon> <Icon type="global" className="header__right-icon"></Icon>
{/* <IconFont {/* <IconFont
type="icon-line-108" type="icon-line-108"
style={{ fontSize: "22px", color: "#333333", cursor: "pointer" }} style={{ fontSize: "22px", color: "#333333", cursor: "pointer" }}
@ -461,7 +466,7 @@ const FullScreenOpton = (props) => {
requestFullScreenMethod(document.body); // 进入全屏 requestFullScreenMethod(document.body); // 进入全屏
}} }}
> >
<Icon type='alert' className='header__right-icon'></Icon> <Icon type="alert" className="header__right-icon"></Icon>
{/* <IconFont {/* <IconFont
type="icon-line-108" type="icon-line-108"
style={{ fontSize: "22px", color: "#333333", cursor: "pointer" }} style={{ fontSize: "22px", color: "#333333", cursor: "pointer" }}
@ -573,7 +578,7 @@ function Header(props) {
{!props.matchLogin ? ( {!props.matchLogin ? (
<div className="header__right"> <div className="header__right">
<RiskFourColor /> <RiskFourColor />
{/* <FullScreen /> */} {window.location.host == "47.122.43.22:7001" || 'localhost:7001' ? <FullScreen /> : ""}
<HeaderDataV /> <HeaderDataV />
<HeaderSearch /> <HeaderSearch />
<GuideCode /> <GuideCode />