例如下面 hello.html 模板中的 <input> 的 value 及 disabled 屬性是改用 th:attr 來設定,多個屬性使用逗號分隔,並搭配變數表示式 ${...} 動態設定屬性 ...
確定! 回上一頁