Commit b1f84a4d authored by wangxuelai's avatar wangxuelai

Merge remote-tracking branch 'origin/bww-v1' into wxl-develop

parents 50fb1396 279408dc
......@@ -13,7 +13,8 @@ class ChooseClassModal extends React.Component {
}
componentWillUnmount() { // 卸载
}
save = () => {
save = (e) => {
e.preventDefault();
const {
form, save,
} = this.props;
......
......@@ -23,7 +23,8 @@ class EditClassModal extends React.Component {
});
}
}
save = () => {
save = (e) => {
e.preventDefault();
const { form, save } = this.props;
form.validateFields((err, values) => {
if (!err) {
......
......@@ -18,7 +18,8 @@ class TeacherCodeModal extends React.Component {
}
componentWillUnmount() { // 卸载
}
save = () => {
save = (e) => {
e.preventDefault();
const {
form, save,
} = this.props;
......@@ -27,7 +28,6 @@ class TeacherCodeModal extends React.Component {
const {
rid,
} = values;
console.log(values, 'values');
save({
rid,
callBack: () => {
......
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