feature: 登录&权限拦截

This commit is contained in:
zhengxinonly
2023-10-01 23:42:59 +08:00
parent 8765b2c344
commit 69a4955ce2
6 changed files with 86 additions and 46 deletions
+1 -1
View File
@@ -118,7 +118,7 @@
admin.logout(function () {
popup.success("注销成功", function () {
location.href = "./login.html";
location.href = "/api/v1/logout";
});
// 清空 tabs 缓存