chore(config): 更新开发环境API基础URL

- 将开发环境的API基础URL从'http://127.0.0.1:9200/api'更改为'https://cms-api.websoft.top/api'

fix(withdraw): 修复提现页面表单重置逻辑

- 在提现成功后添加了await关键字以确保异步操作完成后再重置表单
This commit is contained in:
2025-11-20 13:52:46 +08:00
parent c3044c6ea7
commit d9cd206da8
2 changed files with 3 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
export const ENV_CONFIG = {
// 开发环境
development: {
API_BASE_URL: 'http://127.0.0.1:9200/api',
API_BASE_URL: 'https://cms-api.websoft.top/api',
APP_NAME: '开发环境',
DEBUG: 'true',
},

View File

@@ -278,6 +278,8 @@ const DealerWithdraw: React.FC = () => {
icon: 'success'
})
await
// 重置表单
setWithdrawAmount('')