Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
ant-admin-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 0753a98b
authored
2018-02-01 10:50:06 +0800
by
ethanlamzs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据变动后的联动更新问题
1 parent
2d65cc00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
src/models/linkman.js
src/routes/devutil/schoolmgr.js
src/models/linkman.js
View file @
0753a98
...
...
@@ -49,12 +49,13 @@ export default{
},
*
sysOperation
({
payload
},{
call
,
put
}){
*
sysOperation
({
payload
,
callback
},{
call
,
put
}){
const
response
=
yield
call
(
sysOperationCmd
,
payload
);
yield
put
({
type
:
'sync_operation'
,
payload
:
response
});
if
(
callback
)
callback
();
},
*
schDetail
({
payload
},{
call
,
put
}){
...
...
@@ -101,7 +102,8 @@ export default{
sync_operation
(
state
,
action
){
return
{
...
state
,
operationSync
:
action
.
payload
operationSync
:
action
.
payload
,
linkmanMap
:{}
}
},
...
...
src/routes/devutil/schoolmgr.js
View file @
0753a98
...
...
@@ -17,7 +17,8 @@ import {
Dropdown
,
Tree
,
Button
,
Input
Input
,
message
}
from
'antd'
;
import
{
...
...
@@ -174,7 +175,15 @@ export default class schoolmgr extends Component{
CMD
:
'lk_del'
,
content
:
manids
.
slice
(
1
)
},
callback
:
()
=>
{
message
.
success
(
'已选中的联系人删除成功了'
);
this
.
setState
({
checkedKeys
:[],
linkmanMap
:{
}
});
},
});
}
//end 联系人删除操作
}
else
if
(
action
==
2
){
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment