![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html
_情风乱烟雨
人生没有白走的路,走的每一步都算数。
展开
-
Thymeleaf使用 th:each 动态遍历下拉框,同时回显数据。提交时获取所有下拉框值
1、Thymeleaf使用 th:each 动态遍历下拉框,同时回显数据<div class="form-group" th:each="appl: ${appMenuList}"> <label class="col-sm-3 control-label" th:text="${appl.menuName}+':'"/> <div class="col-sm-8"> <select原创 2021-09-01 18:19:34 · 4919 阅读 · 0 评论 -
前端获取当前页面ip地址端口号
例:http://localhost:8080/empower/addempower/10$(function() { var wwwPath = window.document.location.href;//当前页面全路径:http://localhost:8080/empower/addempower/10 var pathName = window.document.location.pathname;//请求接口:/empower/addempower/10 var pos =原创 2021-08-31 11:22:08 · 4331 阅读 · 0 评论