fix: 修复个人对话为空时无法重复打开该对话的问题
This commit is contained in:
parent
4853fbcec3
commit
4516bce0ee
@ -200,6 +200,7 @@ export default {
|
||||
}
|
||||
},
|
||||
dialogOpenId(id) {
|
||||
if ( id > 0 )
|
||||
this.dialogId = id;
|
||||
},
|
||||
contactsKey(val) {
|
||||
|
2
resources/assets/js/store/actions.js
vendored
2
resources/assets/js/store/actions.js
vendored
@ -1765,6 +1765,8 @@ export default {
|
||||
reject({msg: 'Parameter error'});
|
||||
return;
|
||||
}
|
||||
// 先重置dialogOpenId,否者无法重复打开相同对话
|
||||
state.dialogOpenId = 0;
|
||||
dispatch("call", {
|
||||
url: 'dialog/open/user',
|
||||
data: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user