Skip to content

Let's use AI to Earn!

feat: 抖音热点完成

gaoSir5133af4bd392
diff --git a/src/views/publish/children/videoPage/components/VideoPubSetModal/children/VideoPubSetModal_DouYin.tsx b/src/views/publish/children/videoPage/components/VideoPubSetModal/children/VideoPubSetModal_DouYin.tsx
index ca4b5526..45bc9674 100644
--- a/src/views/publish/children/videoPage/components/VideoPubSetModal/children/VideoPubSetModal_DouYin.tsx
+++ b/src/views/publish/children/videoPage/components/VideoPubSetModal/children/VideoPubSetModal_DouYin.tsx
@@ -1,4 +1,10 @@
-import React, { ForwardedRef, forwardRef, memo, useEffect, useRef, useState } from "react";
+import React, {
+ ForwardedRef,
+ forwardRef,
+ memo,
+ useEffect,
+ useState,
+} from 'react';
import {
IVideoPubSetModalChildProps,
IVideoPubSetModalChildRef,
@@ -87,9 +93,18 @@ const HotspotSelect = ({ currChooseAccount }: IVideoPubSetModalChildProps) => {
</div>
);
}}
- // value={currChooseAccount.pubParams!.location as any}
+ value={
+ currChooseAccount.pubParams!.diffParams![AccountType.Douyin]!.hotPoint
+ }
onChange={(newValue) => {
- console.log(newValue);
+ const newDiffParams = currChooseAccount.pubParams.diffParams!;
+ newDiffParams[AccountType.Douyin]!.hotPoint = newValue;
+ setOnePubParams(
+ {
+ diffParams: newDiffParams,
+ },
+ currChooseAccount.id,
+ );
}}
/>
<VideoPubRestartLogin currChooseAccount={currChooseAccount} />