从jsh远程仓库更新,解决登录后用户权限加载的问题

This commit is contained in:
cjl
2019-01-17 16:50:41 +08:00
6 changed files with 132 additions and 5 deletions

View File

@@ -14,7 +14,8 @@ HROS.app = (function(){
HROS.app.get();
},
get : function(){
$.getJSON('../../app/findDesk', function (sc) {
var userId = sessionStorage.getItem("userId");
$.getJSON('../../app/findAppByUserId?userId=' + userId, function (sc) {
HROS.VAR.dock = sc['dock'];
HROS.VAR.desk = sc['desk'];
//输出桌面应用