refactor(errors): migrate decisions to {code,msg}
This commit is contained in:
@@ -154,7 +154,7 @@ export default function ReviewPage({ params }: { params: Promise<{ id: string }>
|
||||
return
|
||||
}
|
||||
|
||||
notifyInfo(decision.message ?? "评价提交失败")
|
||||
notifyInfo(decision.error.msg)
|
||||
}}
|
||||
>
|
||||
提交评价
|
||||
|
||||
Reference in New Issue
Block a user