林凡 5 年之前
父節點
當前提交
d398349187
共有 2 個檔案被更改,包括 2 行新增3 行删除
  1. 1
    1
      src/pages/carouselFigure/SelectGroup.jsx
  2. 1
    2
      src/pages/carouselFigure/SelectHelp.jsx

+ 1
- 1
src/pages/carouselFigure/SelectGroup.jsx 查看文件

10
     onChange,
10
     onChange,
11
     ...rest
11
     ...rest
12
   } = props;
12
   } = props;
13
-
13
+  
14
   const [list, setList] = useState([]);
14
   const [list, setList] = useState([]);
15
   const [visible, setVisible] = useState(false);
15
   const [visible, setVisible] = useState(false);
16
   const [group, setGroup] = useState({ groupId: undefined, groupName: '请选择拼团' })
16
   const [group, setGroup] = useState({ groupId: undefined, groupName: '请选择拼团' })

+ 1
- 2
src/pages/carouselFigure/SelectHelp.jsx 查看文件

28
         buildingId,
28
         buildingId,
29
         pageNum: 1,
29
         pageNum: 1,
30
         pageSize: 999,
30
         pageSize: 999,
31
-        status: 1,
32
       },
31
       },
33
     }).then(data => {
32
     }).then(data => {
34
       setList(data.records || [])
33
       setList(data.records || [])
61
         <Select
60
         <Select
62
           placeholder="请选择助力"
61
           placeholder="请选择助力"
63
           showSearch
62
           showSearch
64
-          value={value ? parseInt(value) : '请选择'}
63
+          value={value ? parseInt(value) : undefined}
65
           onChange={handleChange}
64
           onChange={handleChange}
66
           style={{ width: '90%' }}
65
           style={{ width: '90%' }}
67
           filterOption={(input, option) =>
66
           filterOption={(input, option) =>