fix: IM问题

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

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

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

Loading…
Cancel
Save