Commit ecba8143 authored by frank.xa.zhang's avatar frank.xa.zhang

fixed main page-- frank

parent bff1ff2e
......@@ -371,15 +371,16 @@ var app = angular.module('app', ['ui.tree', 'ui.bootstrap', 'ui.bootstrap.tpls',
};
$rootScope.changeLanguage(region);
waterMark({
systemId: '2500',
//当前用户ID
userId: loginContext.localName,
textStyle: 'rgba(0,0,0,0.05)',
imgHeightDis: 230,
imgWidthDis: 230,
containerEl: document.querySelector('body')
});
// waterMark({
// systemId: '2500',
// //当前用户ID
// userId: loginContext.localName,
// textStyle: 'rgba(0,0,0,0.05)',
// imgHeightDis: 230,
// imgWidthDis: 230,
// containerEl: document.querySelector('body')
// });
$rootScope.isFront = true;
// publish unbeforeunload event to child scopes
$scope.onbeforeunload = function () {
......
......@@ -3828,7 +3828,7 @@
//showUserTab();
checkUserPermission();
loadDatagrid();
$scope.location = $scope.$root.currentLanguage;
$scope.location = $scope.$root.isFront;
$timeout(function () {
$scope.isLoadComplete = true;
if ($scope.location) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment