Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
biz.qingxiao.com
Commits
279408dc
Commit
279408dc
authored
Dec 30, 2019
by
baixian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
4ee62bf4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
ChooseClassModal.js
src/pages/teacher/ChooseClassModal.js
+2
-1
EditTeacher.js
src/pages/teacher/EditTeacher.js
+2
-1
TeacherCodeModal.js
src/pages/teacher/TeacherCodeModal.js
+2
-2
No files found.
src/pages/teacher/ChooseClassModal.js
View file @
279408dc
...
...
@@ -13,7 +13,8 @@ class ChooseClassModal extends React.Component {
}
componentWillUnmount
()
{
// 卸载
}
save
=
()
=>
{
save
=
(
e
)
=>
{
e
.
preventDefault
();
const
{
form
,
save
,
}
=
this
.
props
;
...
...
src/pages/teacher/EditTeacher.js
View file @
279408dc
...
...
@@ -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
)
{
...
...
src/pages/teacher/TeacherCodeModal.js
View file @
279408dc
...
...
@@ -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
:
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment