wjx před 2 roky
rodič
revize
2703809d01

+ 0 - 3
src/pages/adMonitor/adMonitorList/monitor.tsx

@@ -280,9 +280,6 @@ function Monitor(props: { onChange: () => void }) {
                         style={{ minWidth: 220 }}
                         allowClear
                         placeholder="请选择广告账号"
-                        filterOption={(input, option) =>
-                            (option?.children as any).toLowerCase().indexOf(input.toLowerCase()) >= 0
-                        }
                         onChange={(value: number[]) => {
                             setQueryForm({ ...queryForm, accountId: value, pageNum: 1 })
                         }}

+ 1 - 1
src/pages/adMonitor/adMonitorList/planList.tsx

@@ -112,7 +112,7 @@ const PlanList: React.FC = () => {
                     >
                         {getPicherList?.data?.map((item: { nickname: string, userId: number }, index: number) =>
                             <Select.Option
-                                value={item.userId}
+                                value={item.userId.toString()}
                                 key={item.userId + '' + index}
                             >
                                 {item.nickname}