@@ -35,7 +35,7 @@ service.interceptors.response.use(
// 判断是否需要登录
if (res.error_msg === '需要登录' || res.error_code === 1001) {
if (!debug) {
- location.href = '/notin/page?backTo=' + location.href
+ location.href = '/notin/page?backTo=' + encodeURIComponent(location.href)
} else {
Notification({
title: '开发环境-提示',