解决权限bug

This commit is contained in:
季圣华
2018-12-23 21:53:22 +08:00
parent c554e24e56
commit b163bc1d4a
10 changed files with 174 additions and 37 deletions

View File

@@ -89,11 +89,11 @@
}
//按钮权限列表
else if (lei == 3) {
var btnStr = userBusinessList[0].btnStr;
var btnStr = userBusinessList[0].btnstr;
if (btnStr != null) {
btnStr = JSON.parse(btnStr);
for (var j = 0; j < btnStr.length; j++) {
btnStrList.push(btnStr[j]);
var btnObj = JSON.parse(btnStr);
for (var j = 0; j < btnObj.length; j++) {
btnStrList.push(btnObj[j]);
}
}
}