|
|
@@ -219,8 +219,12 @@ onMounted(() => {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
-watch(() => authStore.userId, () => {
|
|
|
- listRef.value?.reload();
|
|
|
+watch(() => authStore.userId, (newV) => {
|
|
|
+ if (newV) {
|
|
|
+ setTimeout(() => {
|
|
|
+ listRef.value?.reload();
|
|
|
+ }, 1000);
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
const { variable: lastValueCategory } = useMemorizeVar('categoryLastSelectValue', 0);
|