|
@@ -166,7 +166,7 @@ export default class SupportCreatePage extends Component {
|
|
|
// 从表单提取基础信息字段
|
|
|
const { status, title, subTitle, name, ...rest } = values;
|
|
|
const newName = `${title}_${subTitle}`;
|
|
|
- const newVals = { newName, title, subTitle, status: boolToStatus(status), ...rest };
|
|
|
+ const newVals = { title, subTitle, name: newName, status: boolToStatus(status), ...rest };
|
|
|
|
|
|
// 从props中提取coverUrl、imgList、supportList字段
|
|
|
const { product } = this.props;
|