Skip to content

Commit

Permalink
fix: 修复windows用户复制ip \r问题
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 23924
  • Loading branch information
liangling0628 committed Nov 15, 2024
1 parent 521ec5d commit 26dd1d6
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions src/timeseries/src/components/condition-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -332,22 +332,19 @@ export default class ConditionInput extends React.PureComponent<IProps, IState>
onDropdownVisibleChange={v => this.handleKeyVisibleChange(v, index)}
onInputKeyDown={v => this.handleConditionKeyDown(v, index)}
>
{dimensions?.map(
dim =>
(
<Option
key={dim.id}
value={dim.id}
>
<Tooltip
placement='right'
title={dim.id}
>
<div>{dim.name || dim.id}</div>
</Tooltip>
</Option>
) || undefined,
)}
{dimensions?.map(dim => (
<Option
key={dim.id}
value={dim.id}
>
<Tooltip
placement='right'
title={dim.id}
>
<div>{dim.name || dim.id}</div>
</Tooltip>
</Option>
))}
</Select>
) : (
<span
Expand Down

0 comments on commit 26dd1d6

Please sign in to comment.