Skip to content

Commit

Permalink
fix: 修复windows用户复制ip \r问题
Browse files Browse the repository at this point in the history
  • Loading branch information
liangling0628 committed Nov 15, 2024
1 parent 5f37383 commit 521ec5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timeseries/src/components/condition-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export default class ConditionInput extends React.PureComponent<IProps, IState>
mode='tags'
placeholder={getEnByName('请选择', language)}
showArrow={false}
tokenSeparators={[',', '|', '\n', ' ']}
tokenSeparators={[',', '|', '\n', ' ', '\r\n', '\r']}
onChange={v => this.handleValueChange(v, index)}
onInputKeyDown={v => this.handleValueConditionKeyDown(v)}
>
Expand Down

0 comments on commit 521ec5d

Please sign in to comment.