Commit a2c906b5 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改参数

parent 2e32d9a8
...@@ -90,9 +90,6 @@ export const evaluateSchema: ISchema = { ...@@ -90,9 +90,6 @@ export const evaluateSchema: ISchema = {
message: '最多可上传4张图片', message: '最多可上传4张图片',
}, },
], ],
// 'x-mega-props': {
// addonAfter: '{{UploadTip}}',
// },
}, },
UPLOAD_TIP: { UPLOAD_TIP: {
type: 'object', type: 'object',
......
...@@ -97,7 +97,7 @@ const EvaluateOrder: React.FC = () => { ...@@ -97,7 +97,7 @@ const EvaluateOrder: React.FC = () => {
return { return {
star, star,
comment, comment,
orderProductId: good.productId, orderProductId: good.orderProductId,
pics: picture.map(item => item.status === 'done' && item.url).filter(Boolean), pics: picture.map(item => item.status === 'done' && item.url).filter(Boolean),
}; };
}); });
......
...@@ -97,7 +97,7 @@ const EvaluateOrder: React.FC = () => { ...@@ -97,7 +97,7 @@ const EvaluateOrder: React.FC = () => {
return { return {
star, star,
comment, comment,
orderProductId: good.productId, orderProductId: good.orderProductId,
pics: picture.map(item => item.status === 'done' && item.url).filter(Boolean), pics: picture.map(item => item.status === 'done' && item.url).filter(Boolean),
}; };
}); });
......
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