fix: 客服重置

feat-im-0607-xwk
向文可 2 years ago
parent 14cc717538
commit eb1edf8b21

@ -91,7 +91,7 @@
});
const handleReset = () => {
state.condition = {
storeId: null,
storeId: unref(opts).store?.[0]?.id,
waiterId: null,
waiterNickname: null,
};
@ -101,6 +101,9 @@
loading.value = true;
await store.dispatch('chatWaiter/search');
loading.value = false;
} else {
store.commit('chatWaiter/setList', []);
store.commit('chatWaiter/setTotal', 0);
}
};
watch(

Loading…
Cancel
Save