feat: 完成前端业务闭环与后端联调
This commit is contained in:
@@ -20,9 +20,6 @@ const normalizeFeedback = (form) => ({
|
||||
const snapshotOf = (form) => JSON.stringify(normalizeFeedback(form));
|
||||
|
||||
const errorMessage = (error) => {
|
||||
if (error?.code === "WRITE_UNAVAILABLE") {
|
||||
return "当前为本地预览,反馈没有发出。";
|
||||
}
|
||||
if (error?.httpStatus === 401) {
|
||||
return "登录状态已失效,请重新登录后再提交。";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user