Skip to content

Commit

Permalink
feat: err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
5unnyWind committed Sep 4, 2023
1 parent 22b10e4 commit b3b3a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const App: FC<Props> = () => {
const res = await runAsync();
if (res?.data) uiModule?.toast.success("扭蛋成功");
else {
uiModule?.toast.fail("扭蛋失败:" + postErr ?? "");
uiModule?.toast.fail("扭蛋失败:" + postErr || "");
}
refresh();
} catch (err) {
Expand Down

0 comments on commit b3b3a69

Please sign in to comment.