Commit 0c801cd6 authored by liboyang's avatar liboyang

登陆页面

parent 17a7d499
......@@ -11,6 +11,10 @@ angular.module('AvatarCheck.login', ['ngRoute', 'AvatarCheck.http'])
.controller('loginCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter,$location,$http,localStorageService) {
if($rootScope.loginData.login==true){
whereToGo($rootScope.loginData.roleList[0].process)
}
$scope.enterEvent = function(e) {
var keycode = window.event?e.keyCode:e.which;
if(keycode==13){
......
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