添加内容过滤功能
This commit is contained in:
@@ -22,6 +22,7 @@ import {
|
||||
} from "@/store/pickerOptionsStore";
|
||||
import { handleCustomerService } from "@/services/userService";
|
||||
import evaluateService from "@/services/evaluateService";
|
||||
import { getBackendErrorMsg } from "@/utils/helper";
|
||||
|
||||
const EditProfilePage: React.FC = () => {
|
||||
const { updateUserInfo, updateNickname } = useUserActions();
|
||||
@@ -248,8 +249,8 @@ const EditProfilePage: React.FC = () => {
|
||||
} catch (error) {
|
||||
console.warn("保存失败:", error);
|
||||
Taro.showToast({
|
||||
title: "保存失败",
|
||||
icon: "error",
|
||||
title: getBackendErrorMsg(error, "保存失败"),
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -309,8 +310,8 @@ const EditProfilePage: React.FC = () => {
|
||||
} catch (error) {
|
||||
console.warn("保存失败:", error);
|
||||
Taro.showToast({
|
||||
title: "保存失败",
|
||||
icon: "error",
|
||||
title: getBackendErrorMsg(error, "保存失败"),
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user