Skip to content

Commit

Permalink
add CreateBox notify
Browse files Browse the repository at this point in the history
  • Loading branch information
TiyoSheng committed Nov 22, 2023
1 parent e67ad9e commit 94146f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/client/src/pages/test/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,10 @@ const Test = () => {
}

const CreateBoxFun = async () => {
CreateBox(boxData[0], boxData[1]);
message.loading('创建中...');
await CreateBox(boxData[0], boxData[1]);
message.success(`创建宝箱成功,坐标:${boxData[0]}${boxData[1]}`);

}

const openBoxFun = () => {
Expand Down

0 comments on commit 94146f5

Please sign in to comment.