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
d3c84437
authored
2020-12-18 10:18:22 +0800
by
焦小希
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改前端门户common.js 中 获取cookie的方式
1 parent
c8c3ce7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
staticJs/common.js
staticJs/wdyy.js
staticJs/common.js
View file @
d3c8443
...
...
@@ -53,8 +53,8 @@ function getCookie(){
if
(
str
==
''
){
return
false
}
else
{
$
(
'.PersonLogin'
).
css
(
'pointer-events'
,
'none
'
)
var
arr
=
str
.
replace
(
/
(\s)
+/g
,
''
).
split
(
'='
);
return
JSON
.
parse
(
arr
[
1
]);
var
arr
=
str
.
split
(
';
'
)
var
arr
1
=
arr
[
0
]
.
replace
(
/
(\s)
+/g
,
''
).
split
(
'='
);
return
JSON
.
parse
(
arr
1
[
1
]);
}
};
\ No newline at end of file
...
...
staticJs/wdyy.js
View file @
d3c8443
...
...
@@ -42,7 +42,7 @@ function _initData(currentPage=1) {
li
+=
'<h3>逾期</h3>'
li
+=
'<a>查看<i class="layui-icon layui-icon-right"></i></a>'
li
+=
'</div>'
}
else
if
(
records
[
i
].
state
==
'
4
'
)
{
}
else
if
(
records
[
i
].
state
==
'
3
'
)
{
li
+=
'<div class="item_title cancel">'
li
+=
'<h3>取消</h3>'
li
+=
'<a>查看<i class="layui-icon layui-icon-right"></i></a>'
...
...
Please
register
or
sign in
to post a comment