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:
@@ -2,7 +2,7 @@
|
|||||||
export const ENV_CONFIG = {
|
export const ENV_CONFIG = {
|
||||||
// 开发环境
|
// 开发环境
|
||||||
development: {
|
development: {
|
||||||
API_BASE_URL: 'http://127.0.0.1:9200/api',
|
API_BASE_URL: 'https://cms-api.websoft.top/api',
|
||||||
APP_NAME: '开发环境',
|
APP_NAME: '开发环境',
|
||||||
DEBUG: 'true',
|
DEBUG: 'true',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -278,6 +278,8 @@ const DealerWithdraw: React.FC = () => {
|
|||||||
icon: 'success'
|
icon: 'success'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
await
|
||||||
|
|
||||||
// 重置表单
|
// 重置表单
|
||||||
setWithdrawAmount('')
|
setWithdrawAmount('')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user