![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题解决
南南合作
这个作者很懒,什么都没留下…
展开
-
Html页面跳转传参,中文乱码解决
encodeURL编码 decodeURL解码 第一个页面 var searchUrl=encodeURI('index2.html?name=' + name + '&danwei=' + danwei) window.location.href = searchUrl; 第二个页面 var url = decodeURI(window.location.href.split('?...原创 2019-01-16 10:58:59 · 4476 阅读 · 0 评论 -
layui中权限树authtree中的checkbox设置禁止勾选
$('#LAY-auth-tree-index input[type="checkbox"]').prop('disabled',true) 用disabled这个属性在此起不了作用,但是需求提出要有禁止功能,于是想出给div添加 pointer-events:none禁止点击属性 $('#LAY-auth-tree-index').css('pointer-events','none') 虽...原创 2019-07-23 17:05:29 · 2952 阅读 · 1 评论