Commit cc5c75d3 authored by wangxuelai's avatar wangxuelai

Merge remote-tracking branch 'origin/wxl-develop'

parents 4d2f2e3c cd6bfaaa
......@@ -18,6 +18,6 @@
</head>
<body>
<div id="root"></div>
<script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/main.js?1577703550392" charset="utf-8"></script>
<script src="https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/main.js?1577706356191" charset="utf-8"></script>
</body>
</html>
\ No newline at end of file
......@@ -128,7 +128,7 @@ export default {
message.warn('暂无权限,请联系管理员添加权限');
}
} else {
console.log('权限设置失败');
// console.log('权限设置失败');
}
},
* addSchool({ payload }, { call, put, select }) {
......
......@@ -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