对页面的按钮进行权限控制

This commit is contained in:
季圣华
2020-09-04 23:50:40 +08:00
parent c7180a0d0d
commit 957583e54e
18 changed files with 141 additions and 40 deletions

View File

@@ -43,7 +43,7 @@ function initSelectInfo(lei) {
//按钮权限列表
else if (lei == 3) {
var btnStr = userBusinessList[0].btnStr;
if (btnStr != null) {
if (btnStr != null && btnStr !="") {
var btnObj = JSON.parse(btnStr);
for (var j = 0; j < btnObj.length; j++) {
btnStrList.push(btnObj[j]);