在springboot项目的前端页面中,访问后端的动态数据,动态元素需要使用“th:”前缀 eg:<span th:text='${singlePersion}'></span> 其中singlePerson是后台传到前端的值