Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
0c801cd6
Commit
0c801cd6
authored
Mar 19, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登陆页面
parent
17a7d499
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
login.js
src/main/resources/static/views/login/login.js
+4
-0
No files found.
src/main/resources/static/views/login/login.js
View file @
0c801cd6
...
@@ -11,6 +11,10 @@ angular.module('AvatarCheck.login', ['ngRoute', 'AvatarCheck.http'])
...
@@ -11,6 +11,10 @@ angular.module('AvatarCheck.login', ['ngRoute', 'AvatarCheck.http'])
.
controller
(
'loginCtrl'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
ngDialog
,
MessageService
,
$filter
,
$location
,
$http
,
localStorageService
)
{
.
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
)
{
$scope
.
enterEvent
=
function
(
e
)
{
var
keycode
=
window
.
event
?
e
.
keyCode
:
e
.
which
;
var
keycode
=
window
.
event
?
e
.
keyCode
:
e
.
which
;
if
(
keycode
==
13
){
if
(
keycode
==
13
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment