feat: 统一消息提醒

This commit is contained in:
xingyu4j
2025-09-22 18:06:09 +08:00
parent a1e756c0e5
commit 47c0c847eb
70 changed files with 81 additions and 161 deletions

View File

@@ -36,13 +36,12 @@ function handleCreate() {
async function handleTransfer(row: DemoWithdrawApi.Withdraw) {
const hideLoading = message.loading({
content: '转账中,请稍后...',
key: 'action_key_msg',
duration: 0,
});
try {
const payTransferId = await transferDemoWithdraw(row.id as number);
message.success({
content: `转账提交成功,转账单号:${payTransferId}`,
key: 'action_key_msg',
});
onRefresh();
} finally {