@@ -1 +0,0 @@
-{"version":3,"file":"./assets/js/index.6ad5e57b.js","sources":["webpack:///./assets/js/index.6ad5e57b.js"],"mappings":"AAAA;;;;;;;;;;;;;AA01EA;;;;;;;;;;;AA6fA;;;;;;;;AA4rYA;;;;;;;AAojkBA","sourceRoot":""}
@@ -0,0 +1 @@
+{"version":3,"file":"./assets/js/index.ff9203a5.js","sources":["webpack:///./assets/js/index.ff9203a5.js"],"mappings":"AAAA;;;;;;;;;;;;;AA01EA;;;;;;;;;;;AA6fA;;;;;;;;AA4rYA;;;;;;;AAujkBA","sourceRoot":""}
@@ -144,7 +144,7 @@
<a><i class="ace-icon fa fa-user"></i>个人中心</a>
</li>
<li class="divider"></li> -->
- <li><a href="/logout"><i class="ace-icon fa fa-power-off"></i>退出 </a></li>
+ <li><a href="javascript:;" class="logout" ><i class="ace-icon fa fa-power-off"></i>退出 </a></li>
</ul>
@@ -78,8 +78,12 @@ $(async () => {
});
return false;
+ const logout = $(".logout").click(() => {
+ window.location.href=projectName+"/logout";
+ });
+
- // const { data: msglist, rowTotal } = await post('/sysmsg/getSysMsgList', { isRead: false, pageIndex: 0, pageSize: 3 });
+ // const { data: msglist, rowTotal } = await post('/sysmsg/getSysMsgList', { isRead: false, pageIndex: 0, pageSize: 3 });
// const msgs_arr: JQuery<HTMLElement>[] = [];
// msglist.forEach((x: any) => {
// const li = $(`<li><a href="javascript:void(0);" ><div class="msg_title"><strong>${x.title}</strong>. <small>${getTimeSpan(x.createDate)}</small></div><small class="fl">${dateFormat(x.createDate, 'yyyy.MM.dd - hh:mm')}</small> <small class="fr">from:${x.msgType === 1 ? x.sendUserName : '系统消息'}</small></a></li>`);