thymeleaf
小POooo
永不退缩
展开
-
thymeleaf下拉菜单、单选按钮、多选按钮的数据回显
1、单选按钮<div class="row cl"> <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>性 别:</label> <div class="formControls col-...原创 2019-03-23 19:02:24 · 3790 阅读 · 7 评论 -
Thymeleaf中,将字符串作为js函数的参数
字符串作为js函数的参数在正常的js函数中,将int类型的变量直接传递给js函数的参数时候,是不需要转义的,但是将字符串类型的作为参数传递的时候,有以下几种解决的方法:1、代码: //前台 <a title="删除" th:onclick="'javascript:role_dele(this,'+${role.roleid}+')'">//管理员角色管理 @Re...原创 2019-03-28 20:14:43 · 1499 阅读 · 0 评论