Commit d13a04e5 by lepdou

config page jump to index page when appId not provided

parent 7170b83d
application_module.controller("ConfigBaseInfoController",
['$rootScope', '$scope', '$location', 'toastr', 'EventManager', 'UserService',
['$rootScope', '$scope', '$window', '$location', 'toastr', 'EventManager', 'UserService',
'AppService',
'FavoriteService',
'PermissionService',
'AppUtil', ConfigBaseInfoController]);
function ConfigBaseInfoController($rootScope, $scope, $location, toastr, EventManager, UserService, AppService,
function ConfigBaseInfoController($rootScope, $scope, $window, $location, toastr, EventManager, UserService, AppService,
FavoriteService,
PermissionService,
AppUtil) {
var appId = AppUtil.parseParams($location.$$url).appid;
if (!appId) {
$window.location.href = '/index.html';
}
initPage();
function initPage() {
......
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