Commit 3e0474b8 authored by agping's avatar agping

如果没有菜单 给提醒

parent b2cbb106
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);
......
/**
* 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) {
......
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),
......
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