Commit c8e9f6a1 by ethanlamzs

添加刷新功能

1 parent a6d0cf7a
...@@ -179,7 +179,14 @@ export default class schoolmgr extends Component{ ...@@ -179,7 +179,14 @@ export default class schoolmgr extends Component{
//end 联系人删除操作 //end 联系人删除操作
}else if(action==2){ }else if(action==2){
//触发操作事件 //触发操作事件
dispatch({
type: 'linkman/sysOperation',
payload:{
schoolCode:schoolCode,
CMD:'force_update',
content:""
},
});
} }
} }
...@@ -297,7 +304,7 @@ export default class schoolmgr extends Component{ ...@@ -297,7 +304,7 @@ export default class schoolmgr extends Component{
<div> <div>
<Button style={{ marginLeft: 8 }} onClick={() =>this.specopation(1)}>删除联系人</Button> <Button style={{ marginLeft: 8 }} onClick={() =>this.specopation(1)}>删除联系人</Button>
<Button style={{ marginLeft: 8 }} onClick={() =>this.specopation(2)}>头像强刷</Button> <Button style={{ marginLeft: 8 }} onClick={() =>this.specopation(2)}>头像强刷</Button>
<Button style={{ marginLeft: 8 }} onClick={() =>this.specopation(3)}>通讯录强刷</Button> <Button style={{ marginLeft: 8 }} onClick={() =>this.specopation(2)}>通讯录强刷</Button>
</div> </div>
</ChartCard> </ChartCard>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!