Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8f146868
authored
2020-12-24 10:27:14 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登录
1 parent
c95de5ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
staticJs/login.js
staticJs/login.js
View file @
8f14686
...
...
@@ -20,15 +20,11 @@ function login() {
});
})
}
window
.
onbeforeunload
=
function
()
{
delCookie
();
}
$
(
document
).
on
(
'click'
,
'.PersonLogin'
,
function
()
{
login
();
window
.
onbeforeunload
=
function
()
{
var
n
=
window
.
event
.
screenX
-
window
.
screenLeft
;
var
b
=
n
>
document
.
documentElement
.
scrollWidth
-
20
;
if
(
b
&&
window
.
event
.
clientY
<
0
||
window
.
event
.
altKey
)
{
delAllCookie
();
}
}
})
// 点击登陆的时候
...
...
Please
register
or
sign in
to post a comment