添加内容过滤功能

This commit is contained in:
张成
2026-02-14 13:56:54 +08:00
parent 64f0267457
commit baa60bbfcb
6 changed files with 171 additions and 147 deletions

View File

@@ -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",
});
}
};