Loading

摘要: 需求:例如请求url链接为:http://localhost:8080/community/service?cid=1 如何取到url中的cid参数值呢? 一、HTML取值 <span th:text="${param.cid}"></san> 或者 <span>[[${param.cid}]]</ 阅读全文
posted @ 2022-06-22 03:42 Roc-xb 阅读(113) 评论(0) 推荐(0)
摘要: thymeleaf将值传给onclick事件?下面介绍两种方法。 说明:文章中的categories参数是一个map数据结构。 目录 方法一: 方法二: 定义一个js函数 <script> function list_search(cid) { alert(cid) } </script> 方法一: 阅读全文
posted @ 2022-06-22 03:12 Roc-xb 阅读(561) 评论(0) 推荐(0)

易微帮源码


易微帮官网