diff --git a/admin/src/api/request.js b/admin/src/api/request.js index ae664ea..0d43858 100644 --- a/admin/src/api/request.js +++ b/admin/src/api/request.js @@ -18,7 +18,7 @@ request.interceptors.response.use( err => { if (err.response?.status === 401) { localStorage.removeItem('token') - window.location.href = '/login' + window.location.href = '/admin/login' } return Promise.reject(err) } diff --git a/admin/src/layout/index.vue b/admin/src/layout/index.vue index 927d783..ff21785 100644 --- a/admin/src/layout/index.vue +++ b/admin/src/layout/index.vue @@ -33,6 +33,7 @@ AI 配置 友链管理 反馈管理 + 用户管理 diff --git a/admin/src/views/category/Crowd.vue b/admin/src/views/category/Crowd.vue index 4fa6bc9..34d3332 100644 --- a/admin/src/views/category/Crowd.vue +++ b/admin/src/views/category/Crowd.vue @@ -4,7 +4,23 @@

人群管理

添加 - + + + + @@ -34,15 +50,23 @@ \ No newline at end of file