|
|
|
@ -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(
|
|
|
|
|