html页面获取modelAndView对象的值

后端代码

ModelAndView mad = new ModelAndView();
mad.addObject("value",'id');
		

前端代码

<p th:utext=${value} id="autoflag" style="display:none"></p>

猜你喜欢

转载自blog.csdn.net/z_jing0927/article/details/124827063