flex对象.show()的时候display变成block时间:2023-03-10 06:35:30 在css中设置display: none;的对象会出现这种情况。 在JavaScript中用.hide()隐藏的对象不会出现。