diff --git a/nkebao/src/components/FriendSelection/index.tsx b/nkebao/src/components/FriendSelection/index.tsx index bb5c69a9..0cf9e06f 100644 --- a/nkebao/src/components/FriendSelection/index.tsx +++ b/nkebao/src/components/FriendSelection/index.tsx @@ -108,7 +108,7 @@ export default function FriendSelection({ } if (enableDeviceFilter && deviceIds.length > 0) { - params.deviceIds = deviceIds; + params.deviceIds = deviceIds.join(","); } const response = await getFriendList(params); diff --git a/nkebao/src/pages/workspace/auto-like/new/index.tsx b/nkebao/src/pages/workspace/auto-like/new/index.tsx index ce1a966a..8d04bc0a 100644 --- a/nkebao/src/pages/workspace/auto-like/new/index.tsx +++ b/nkebao/src/pages/workspace/auto-like/new/index.tsx @@ -1,15 +1,12 @@ import React, { useState, useEffect } from "react"; import { useNavigate, useParams } from "react-router-dom"; -import { - PlusOutlined, - MinusOutlined, - ArrowLeftOutlined, -} from "@ant-design/icons"; +import { PlusOutlined, MinusOutlined } from "@ant-design/icons"; import { Button, Input, Switch, Spin, message } from "antd"; import Layout from "@/components/Layout/Layout"; import DeviceSelection from "@/components/DeviceSelection"; import FriendSelection from "@/components/FriendSelection"; import StepIndicator from "@/components/StepIndicator"; +import NavCommon from "@/components/NavCommon"; import { createAutoLikeTask, updateAutoLikeTask, @@ -186,7 +183,6 @@ const NewAutoLike: React.FC = () => { } className={style.counterInput} /> - @@ -395,21 +391,10 @@ const NewAutoLike: React.FC = () => { -
-
+ {renderStepIndicator()} } - footer={} >
{isLoading ? ( diff --git a/nkebao/src/pages/workspace/auto-like/new/new.module.scss b/nkebao/src/pages/workspace/auto-like/new/new.module.scss index 9a5b9d9e..9d0bd1d6 100644 --- a/nkebao/src/pages/workspace/auto-like/new/new.module.scss +++ b/nkebao/src/pages/workspace/auto-like/new/new.module.scss @@ -38,7 +38,7 @@ } .inputTime { - width: 90px; + width: 100px; height: 40px; border-radius: 8px; font-size: 15px; @@ -104,11 +104,9 @@ } .counterUnit { - position: absolute; - right: 8px; color: #888; font-size: 14px; - pointer-events: none; + margin-left: 8px; } .timeSeparator {