mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-11 03:49:33 +00:00
refactor: 优化错误处理和消息提示机制
- 移除前端冗余的错误消息提示,统一使用console.error记录错误 - 使用后端返回的msg作为成功提示消息 - 更新演示环境地址和API端口配置 - 清理缓存管理模块的冗余消息提示 - 改进认证错误提示信息,增加状态码 ``` 这个提交消息: 1. 使用refactor类型,因为主要是代码结构的优化而非功能修改 2. 概括了主要修改内容:错误处理和消息提示机制的优化 3. 在消息体中列出了具体修改点,包括: - 前端错误处理方式统一 - 成功提示消息来源调整 - 配置更新 - 特定模块的清理 - 认证提示改进
This commit is contained in:
@@ -717,7 +717,7 @@
|
||||
<hr />
|
||||
<h2 id="_5">🍪 演示环境</h2>
|
||||
<ul>
|
||||
<li>演示地址:<a href="http://8.137.99.5">http://8.137.99.5</a></li>
|
||||
<li>演示地址:<a href="http://service.fastapiadmin.com">http://service.fastapiadmin.com</a></li>
|
||||
<li>管理员账号:<code>admin</code> 密码:<code>123456</code></li>
|
||||
<li>演示账号:<code>demo</code> 密码:<code>123456</code></li>
|
||||
</ul>
|
||||
@@ -829,7 +829,7 @@ npm run build
|
||||
<ul>
|
||||
<li>前端地址: <a href="http://127.0.0.1:5180">http://127.0.0.1:5180</a></li>
|
||||
<li>小程序地址: <a href="http://127.0.0.1:5181">http://127.0.0.1:5181</a></li>
|
||||
<li>接口地址: <a href="http://127.0.0.1:8080/api/v1/docs">http://127.0.0.1:8080/api/v1/docs</a></li>
|
||||
<li>接口地址: <a href="http://127.0.0.1:8001/api/v1/docs">http://127.0.0.1:8001/api/v1/docs</a></li>
|
||||
<li>管理员账号:<code>admin</code> 密码:<code>123456</code></li>
|
||||
<li>演示账号:<code>demo</code> 密码:<code>123456</code></li>
|
||||
</ul>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Reference in New Issue
Block a user