zy-acs-flow/src/map/header/MapSearch.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
zy-acs-flow/src/map/header/MapSearch.jsx
@@ -139,8 +139,10 @@ size="small" options={filterDeviceList} getOptionLabel={(option) => option.value} renderOption={(props, option) => ( <li {...props}> renderOption={(props, option) => { const { key, ...otherProps } = props; return ( <li key={Number(key)} {...otherProps}> <Stack direction="row" justifyContent="space-between" width="100%"> <Typography variant="body1" fontWeight="bold"> {option.label} @@ -150,7 +152,8 @@ </Typography> </Stack> </li> )} ) }} renderInput={(params) => ( <TextField {...params}