zhaoy 8 months ago
parent
commit
7c04a1a9df
3 changed files with 12 additions and 3 deletions
  1. +4
    -1
      src/pages/push/batchingpush/components/PushFrom.jsx
  2. +4
    -1
      src/pages/push/goodspush/components/PushFrom.jsx
  3. +4
    -1
      src/pages/push/technologypush/components/PushFrom.jsx

+ 4
- 1
src/pages/push/batchingpush/components/PushFrom.jsx View File

@@ -95,7 +95,10 @@ const PushFrom = (props) => {
选择设备:
<Select
allowClear
allowClear showSearch optionFilterProp="children" filterOption={(input, option) => (option?.label ?? '').includes(input)}
filterSort={(optionA, optionB) =>
(optionA?.label ?? '').toLowerCase().localeCompare((optionB?.label ?? '').toLowerCase())
}
style={{width: '60%'}}
placeholder="请选择要下发设备"
onChange={handleChange}


+ 4
- 1
src/pages/push/goodspush/components/PushFrom.jsx View File

@@ -146,7 +146,10 @@ const PushFrom = (props) => {
选择设备:
<Select
allowClear
allowClear showSearch optionFilterProp="children" filterOption={(input, option) => (option?.label ?? '').includes(input)}
filterSort={(optionA, optionB) =>
(optionA?.label ?? '').toLowerCase().localeCompare((optionB?.label ?? '').toLowerCase())
}
style={{width: '60%'}}
placeholder="请选择要下发设备"
onChange={handleChange}


+ 4
- 1
src/pages/push/technologypush/components/PushFrom.jsx View File

@@ -149,7 +149,10 @@ const PushFrom = (props) => {
选择设备:
<Select
allowClear
allowClear showSearch optionFilterProp="children" filterOption={(input, option) => (option?.label ?? '').includes(input)}
filterSort={(optionA, optionB) =>
(optionA?.label ?? '').toLowerCase().localeCompare((optionB?.label ?? '').toLowerCase())
}
style={{width: '60%'}}
placeholder="请选择要下发设备"
onChange={handleChange}


Loading…
Cancel
Save