Merge branch 'feat-im-0607-xwk' into msb_test

msb_test
向文可 2 years ago
commit 897d117fd7

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

Loading…
Cancel
Save