|
|
@@ -168,11 +168,11 @@ const LockModal = props => {
|
|
|
})
|
|
|
if (code === consts.RET_CODE.SUCCESS) {
|
|
|
onCancel()
|
|
|
+ dispatch({
|
|
|
+ type: 'refresh/commitAction',
|
|
|
+ payload: 'longle'
|
|
|
+ })
|
|
|
}
|
|
|
- dispatch({
|
|
|
- type: 'refresh/commitAction',
|
|
|
- payload: 'longle'
|
|
|
- })
|
|
|
}
|
|
|
|
|
|
// 更换软件锁
|
|
|
@@ -184,6 +184,10 @@ const LockModal = props => {
|
|
|
})
|
|
|
if (code === consts.RET_CODE.SUCCESS) {
|
|
|
onCancel()
|
|
|
+ dispatch({
|
|
|
+ type: 'refresh/commitAction',
|
|
|
+ payload: 'longle'
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
|