Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
fix: 选择用户报错处理
gaoSir0c383593a091
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.tsxindex 345e7bef..4672c974 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@@ -214,6 +214,7 @@ const ActivitySelect = ({ currChooseAccount }: IVideoPubSetModalChildProps) => {<h1>活动奖励</h1><Select+ showSearch={false}allowClearstyle={{ width: '100%' }}placeholder="点击选择活动奖励"diff --git a/src/views/publish/children/videoPage/components/VideoPubSetModal/components/UserSelect.tsx b/src/views/publish/children/videoPage/components/VideoPubSetModal/components/UserSelect.tsxindex 5e165b10..73126078 100644--- a/src/views/publish/children/videoPage/components/VideoPubSetModal/components/UserSelect.tsx+++ b/src/views/publish/children/videoPage/components/VideoPubSetModal/components/UserSelect.tsx@@ -84,7 +84,11 @@ export default function UserSelect({placeholder="输入关键词搜索"labelInValuefilterOption={false}- onSearch={debounceFetcher}+ onSearch={+ (props.hasOwnProperty('isSearch') ? props.isSearch : true)+ ? debounceFetcher+ : undefined+ }notFoundContent={fetching ? <Spin size="small" /> : null}fieldNames={{label: 'name',