Commit cc5c75d3 authored by wangxuelai's avatar wangxuelai

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

parents 4d2f2e3c cd6bfaaa
...@@ -18,6 +18,6 @@ ...@@ -18,6 +18,6 @@
</head> </head>
<body> <body>
<div id="root"></div> <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> </body>
</html> </html>
\ No newline at end of file
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
message.warn('暂无权限,请联系管理员添加权限'); message.warn('暂无权限,请联系管理员添加权限');
} }
} else { } else {
console.log('权限设置失败'); // console.log('权限设置失败');
} }
}, },
* addSchool({ payload }, { call, put, select }) { * addSchool({ payload }, { call, put, select }) {
......
...@@ -13,7 +13,8 @@ class ChooseClassModal extends React.Component { ...@@ -13,7 +13,8 @@ class ChooseClassModal extends React.Component {
} }
componentWillUnmount() { // 卸载 componentWillUnmount() { // 卸载
} }
save = () => { save = (e) => {
e.preventDefault();
const { const {
form, save, form, save,
} = this.props; } = this.props;
......
...@@ -23,7 +23,8 @@ class EditClassModal extends React.Component { ...@@ -23,7 +23,8 @@ class EditClassModal extends React.Component {
}); });
} }
} }
save = () => { save = (e) => {
e.preventDefault();
const { form, save } = this.props; const { form, save } = this.props;
form.validateFields((err, values) => { form.validateFields((err, values) => {
if (!err) { if (!err) {
......
...@@ -18,7 +18,8 @@ class TeacherCodeModal extends React.Component { ...@@ -18,7 +18,8 @@ class TeacherCodeModal extends React.Component {
} }
componentWillUnmount() { // 卸载 componentWillUnmount() { // 卸载
} }
save = () => { save = (e) => {
e.preventDefault();
const { const {
form, save, form, save,
} = this.props; } = this.props;
...@@ -27,7 +28,6 @@ class TeacherCodeModal extends React.Component { ...@@ -27,7 +28,6 @@ class TeacherCodeModal extends React.Component {
const { const {
rid, rid,
} = values; } = values;
console.log(values, 'values');
save({ save({
rid, rid,
callBack: () => { 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