fix: IM问题

fix/0524_ch
向文可 3 years ago
parent 83c0fd2b33
commit 578a32628a

@ -261,6 +261,9 @@ const actions = {
case 29: // 客服列表
commit('setCustomerServiceList', content);
break;
case 31: // 已读消息
dispatch('querySession');
break;
default:
break;
}

@ -99,18 +99,18 @@
);
watch(
() => state.condition,
(value, old) => {
(value) => {
store.commit('order/setCondition', _.cloneDeep(value));
if (value.userId !== old.userId) {
handleSearch();
}
// if (value.userId !== old.userId) {
// handleSearch && handleSearch();
// }
},
{ immediate: true, deep: true }
);
watch(
() => state.condition.orderStatus,
() => {
handleSearch();
// handleSearch && handleSearch();
},
{ deep: true }
);

Loading…
Cancel
Save