作业的石墨文档链接:https://shimo.im/docs/as3hk03PWzwFcRyK
这次作业的重点记录:
thymeleaf标签之th:text的使用:
th:text
如果是需要从model中取值的话 写法为th:text="${model的name}"
th:text="${childD.name}"
如果是需要字符串与model中的值进行拼接的话,写法为th:text="'字符串'+${model的name}"
th:text=" '姓名:'+${childD.name}"
里面是代码