Closed Garin151 closed 1 year ago
react-vant
react-vant-icons
3.2.7
No response
在umi4版本中,使用Dialog.confirm(),控制台报Warning: Received false for a non-boolean attribute round.
false
round
If you want to write it to the DOM, pass a string instead: round="false" or round={value.toString()}.
If you used to conditionally omit it with round={condition && value}, pass round={condition ? value : undefined} instead.
Which React Vant packages are impacted?
react-vant
(React Vant core)react-vant-icons
(React Vant Icon)What version of React Vant are you using?
3.2.7
Reproduce live demo(codesandebox or stackblitz)?
No response
Descripition
在umi4版本中,使用Dialog.confirm(),控制台报Warning: Received
false
for a non-boolean attributeround
.If you want to write it to the DOM, pass a string instead: round="false" or round={value.toString()}.
If you used to conditionally omit it with round={condition && value}, pass round={condition ? value : undefined} instead.