Commit d326ebf7 by 姜雷

提交后重置名字电话为当前用户

parent a797b86e
......@@ -72,10 +72,11 @@ class ReprtRepair extends Component {
});
}
resetApplyForm = () => {
const { userinfo } = this.props;
this.setState({
applyForm: {
name: '',
repairCellphone: '',
name: userinfo.name,
repairCellphone: userinfo.cellphone,
applyIdentity: '学生',
area: '',
areaId: '',
......
import React, { Component } from 'react';
import styles from './style.css';
import titleIcon from '../images/dropdown_icon@2x.png';
import { formatDate } from '../../../utils/index';
class RepairItem extends Component {
constructor(props) {
......
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