Feat: If the user is not logged in, jump to the login page by refreshing. (#5451)

### What problem does this PR solve?

Feat: If the user is not logged in, jump to the login page by
refreshing.
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-02-27 18:48:53 +08:00
committed by GitHub
parent 83d0949498
commit 8b2c04abc4
7 changed files with 15 additions and 10 deletions

View File

@ -714,7 +714,7 @@ This auto-tag feature enhances retrieval by adding another layer of domain-speci
202: 'A request has been queued in the background (asynchronous task).',
204: 'Data deleted successfully.',
400: 'There was an error in the request issued, and the server did not create or modify data.',
401: 'The user does not have permissions (wrong token, username, password).',
401: 'Please sign in again.',
403: 'The user is authorized, but access is prohibited.',
404: 'The request was made for a record that does not exist, and the server did not perform the operation.',
406: 'The requested format is not available.',

View File

@ -681,7 +681,7 @@ export default {
202: '一個請求已經進入後台排隊(異步任務)。',
204: '刪除數據成功。',
400: '發出的請求有錯誤,服務器沒有進行新建或修改數據的操作。',
401: '用戶沒有權限Token、用戶名、密碼錯誤。',
401: '請重新登入。',
403: '用戶得到授權,但是訪問是被禁止的。',
404: '發出的請求針對的是不存在的記錄,服務器沒有進行操作。',
406: '請求的格式不可得。',

View File

@ -699,7 +699,7 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
202: '一个请求已经进入后台排队(异步任务)。',
204: '删除数据成功。',
400: '发出的请求有错误,服务器没有进行新建或修改数据的操作。',
401: '用户没有权限Token、用户名、密码错误。',
401: '请重新登录。',
403: '用户得到授权,但是访问是被禁止的。',
404: '发出的请求针对的是不存在的记录,服务器没有进行操作。',
406: '请求的格式不可得。',