修复问题

This commit is contained in:
al 2025-01-17 12:03:27 +08:00
parent 07c9d50450
commit 4852719e40
2 changed files with 4 additions and 4 deletions

View File

@ -792,7 +792,7 @@ const BannerList = (props) => {
direction="vertical"
className="w-full"
style={{
display: pathMethod == "inward" ? "block" : "none",
display: pathMethod !== "inward" ? "block" : "none",
}}
>
<label>
@ -805,7 +805,7 @@ const BannerList = (props) => {
className="mb-2"
rules={[
{
required: pathMethod == "inward",
required: pathMethod !== "inward",
message: `请选择页面`,
},
]}

View File

@ -958,7 +958,7 @@ const HotList = (props) => {
direction="vertical"
className="w-full"
style={{
display: pathMethod == "inward" ? "block" : "none",
display: pathMethod !== "inward" ? "block" : "none",
}}
>
<label>
@ -971,7 +971,7 @@ const HotList = (props) => {
className="mb-2"
rules={[
{
required: pathMethod == "inward",
required: pathMethod !== "inward",
message: `请选择页面`,
},
]}