Skip to content

Commit cadb4d4

Browse files
committed
Logs
1 parent 3102f2a commit cadb4d4

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

components/modules/stats/tabs/RollupsTab.vue

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,18 @@ const getRollups = async () => {
2323
// })
2424
2525
fetchRollups({ limit: 100 })
26-
.then((res) => series.value.data = res)
27-
.finally(() => isLoading.value = false)
28-
29-
26+
.then((res) => {
27+
console.log('isLoading.value then', isLoading.value);
28+
console.log('series.value.data then1', series.value.data);
29+
30+
series.value.data = res
31+
console.log('series.value.data then2', series.value.data);
32+
} )
33+
.finally(() => {
34+
console.log('isLoading.value finally1', isLoading.value);
35+
isLoading.value = false
36+
console.log('isLoading.value finally2', isLoading.value);
37+
})
3038
3139
// series.value.data = data
3240

0 commit comments

Comments
 (0)