Commit e8ad8e73 by 姜雷

修改初始化参数

parent cc385435
......@@ -204,12 +204,14 @@ class ReprtRepair extends Component {
const { history } = this.props;
console.log('resetForm');
this.resetApplyForm();
// Toast.hide();
Toast.success(data.msg);
history.replace('/repair/RepairList');
})
.catch(err => {
console.log(err);
const { data } = err;
// Toast.hide();
Toast.fail(data.msg || '提交失败!');
});
};
......
......@@ -118,7 +118,7 @@ class RepairItem extends Component {
</div>,
<div key="address" className={styles.listLineArea}>
<div className={styles.listLabel}>报修事项:</div>
<div className={styles.listValue}>{data.address}</div>
<div className={styles.listValue}>{data.affair}</div>
</div>,
]}
</div>
......
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