Authored by xwx

Merge branch 'master' of http://113.200.75.45:82/monitor_v3/hg-monitor-web into master-v32-xwx

... ... @@ -111,7 +111,7 @@ layui.extend({
$.ajax({
url: sessionStorage.getItem('domainName') + '/api-user/menus/current?type=1',
async: false,
data: {'type': '1',access_token:localStorage.getItem("access_token"),},
data: {access_token:localStorage.getItem("access_token"),},
success(response) {
$.each(response.data, function (i, v) {
if(v.subMenus){
... ...
... ... @@ -2,8 +2,7 @@
* 系统公共配置项
*/
/*设置全局请求地址*/
const domainName = "http://127.0.0.1:8183";
var global = {};
... ... @@ -11,10 +10,6 @@ var global = {};
global.layui = window.parent.layui;
global.common = {
domainName: domainName,
tokenKey: 'access_token', // 存放token的key
refreshToken: 'refresh_token', // 存放token的key
hasEnter: false // 登陆状态
};
global.showLoading = (callback) => {
... ...