Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
3e0474b8
Commit
3e0474b8
authored
Jan 15, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
如果没有菜单 给提醒
parent
b2cbb106
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+4
-1
houseList.js
public/resource/js/houseList.js
+4
-1
user.js
public/resource/js/user.js
+4
-1
No files found.
public/resource/js/RemarkFollowIndex.js
View file @
3e0474b8
if
(
window
===
window
.
parent
){
//没有菜单 给提醒
alert
(
'请清除缓存重新登录'
);
location
.
replace
(
location
.
origin
);
};
define
([
'doT'
,
'text!temp/remark_follow_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
console
.
log
(
user_info_obj
);
...
...
public/resource/js/houseList.js
View file @
3e0474b8
/**
* Created by 刘丹 on 2017/12/11.
*/
if
(
window
===
window
.
parent
){
//没有菜单 给提醒
alert
(
'请清除缓存重新登录'
);
location
.
replace
(
location
.
origin
);
};
define
([
'doT'
,
'text!temp/house_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
//处理文件名,长度过长时处理
function
dealFileName
(
str
)
{
...
...
public/resource/js/user.js
View file @
3e0474b8
if
(
window
===
window
.
parent
){
//没有菜单 给提醒
alert
(
'请清除缓存重新登录'
);
location
.
replace
(
location
.
origin
);
};
define
([
'doT'
,
'text!temp/user_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
,
'checkLogin'
],
function
(
doT
,
template
)
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
_doc
=
$
(
document
),
...
...
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