Commit a4ba0c61 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改字段名

parent c4fd370b
......@@ -67,7 +67,7 @@ const EvaluateOrder: React.FC = () => {
unevaluatedList,
});
unevaluatedList.forEach((item, index) => {
if (item.completeCommentStatus) {
if (item.commentStatus) {
formActions.setFieldState(`comments.${index}.*`, (fieldState) => {
fieldState.editable = false;
});
......
......@@ -29,7 +29,7 @@ export const normalizeUnevaluatedList = (arr: {[key: string]: any}[]) => {
comment: undefined, // 评价
picture: [],
smile: undefined, // 笑脸
completeCommentStatus: item.completeCommentStatus,
commentStatus: item.commentStatus,
};
ret.push(atom);
});
......
......@@ -67,7 +67,7 @@ const EvaluateOrder: React.FC = () => {
unevaluatedList,
});
unevaluatedList.forEach((item, index) => {
if (item.completeCommentStatus) {
if (item.commentStatus) {
formActions.setFieldState(`comments.${index}.*`, (fieldState) => {
fieldState.editable = false;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment