Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
disabled删除打印属性名称的 EL 表达式周围的双引号。双引号应仅放在属性值周围(之后的部分=)。
disabled
=
<select ... ${empty disabled ? 'disabled' : ''}>
否则你最终会得到
<select ... "">
或者
<select ... "disabled">
这在语法上是错误的。