Commit 381895fe authored by 李纪文's avatar 李纪文

style: 设备分组树筛选样式修改

parent c175e649
......@@ -292,8 +292,8 @@ const DeviceTree = (props) => {
<div className={classNames(prefixCls, 'wkt-scroll-light')}>
{filterName && deviceArr.length === 1 && !filterValue ? (
<div style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>
<div>{filterName}</div>
<Select style={{ width: 140 }} placeholder="" onChange={onChangeFilter} allowClear={true}>
<div style={{ flex: 'none' }}>{filterName}</div>
<Select style={{ flex: 1 }} placeholder="" onChange={onChangeFilter} allowClear={true}>
{filterFieldEntries.map((item) => (
<Select.Option key={item}>{item}</Select.Option>
))}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment