fix: 时间段切换

feature/task1.0.0__0514__ch
向文可 3 years ago
parent b15139f55b
commit ba983e3feb

@ -66,11 +66,13 @@
};
};
const handleSearch = async () => {
loading.value = true;
await store.dispatch('limitProduct/load', route.params.id);
await store.dispatch('limitProduct/search');
loading.value = false;
if (state.condition.activityTimeId) {
loading.value = true;
await store.dispatch('limitProduct/search');
loading.value = false;
}
};
store.dispatch('limitProduct/load', route.params.id);
watch(
() => state.condition,
(value) => {

Loading…
Cancel
Save