...
|
...
|
@@ -4,6 +4,8 @@ var $apiDom = $('#api-domain'); |
|
|
|
|
|
var apiDomain = $apiDom.val(); //获取数据的地址
|
|
|
|
|
|
require('./common');
|
|
|
|
|
|
$apiDom.remove(); //删除API信息
|
|
|
|
|
|
if ($('.simple-header').size() > 0) {
|
...
|
...
|
@@ -96,5 +98,16 @@ function actionLoginInfo() { |
|
|
});
|
|
|
}
|
|
|
|
|
|
actionLoginInfo(); //获取登录信息
|
|
|
// 获取头部登陆信息
|
|
|
(function() {
|
|
|
var uid = getUid(), //eslint-disable-line
|
|
|
profileName = getProfileName(); // eslint-disable-line
|
|
|
|
|
|
if (uid === 0) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
setLoginStatus({random: $.now(), profileName: profileName});
|
|
|
|
|
|
}());
|
|
|
|
...
|
...
|
|