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} /> - 秒 } @@ -195,6 +191,7 @@ const NewAutoLike: React.FC = () => { } className={style.counterBtn} /> + 秒