th:block layout:fragment="content"

頁面A <th:block layout:fragment="xxx">         aaaaaaaaaaaa </th:block> 這個意思 就是將aaaa..這些內容 插入到 layouts/layout.html裏的名爲xxx的片斷 這是layout.html裏定義的片斷
相關文章
相關標籤/搜索