#
luxiaotao1123
2024-10-15 7fa7500d69bdb201a0066c031d1da9bb3f036343
#
1个文件已修改
27 ■■■■■ 已修改文件
zy-acs-flow/src/map/header/MapSearch.jsx 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/map/header/MapSearch.jsx
@@ -139,18 +139,21 @@
                size="small"
                options={filterDeviceList}
                getOptionLabel={(option) => option.value}
                renderOption={(props, option) => (
                    <li {...props}>
                        <Stack direction="row" justifyContent="space-between" width="100%">
                            <Typography variant="body1" fontWeight="bold">
                                {option.label}
                            </Typography>
                            <Typography variant="body2" color="text.secondary">
                                {option.uuid}
                            </Typography>
                        </Stack>
                    </li>
                )}
                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}
                                </Typography>
                                <Typography variant="body2" color="text.secondary">
                                    {option.uuid}
                                </Typography>
                            </Stack>
                        </li>
                    )
                }}
                renderInput={(params) => (
                    <TextField
                        {...params}