feat: support async message sending now (close #58)

This commit is contained in:
JustSong
2023-05-07 12:58:47 +08:00
parent 1cade7a218
commit 96e08578ec
6 changed files with 120 additions and 19 deletions
+7 -1
View File
@@ -17,7 +17,7 @@ function renderStatus(status) {
case 1:
return (
<Label basic color='olive'>
投递中...
正在投递
</Label>
);
case 2:
@@ -32,6 +32,12 @@ function renderStatus(status) {
发送失败
</Label>
);
case 4:
return (
<Label basic color='orange'>
已在队列
</Label>
);
default:
return (
<Label basic color='grey'>