File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,21 @@ createApp({ render: () => h(App) })
10
10
/* eslint-disable */
11
11
store . dispatch ( "loadUser" ) . then (
12
12
( success ) => {
13
+ //if user data is loaded successfully
13
14
console . log ( "User data loaded successfully!" ) ;
14
15
} ,
15
16
( error ) => {
17
+ //if user data is not loaded successfully (failed to load)
16
18
console . log ( "User data failed to load." ) ;
17
19
} ,
18
20
) ; //load user data
19
21
store . dispatch ( "loadTodos" ) . then (
20
22
( success ) => {
23
+ //if task list data is loaded successfully
21
24
console . log ( "Task list data loaded successfully!" ) ;
22
25
} ,
23
26
( error ) => {
27
+ //if task list data is not loaded successfully (failed to load)
24
28
console . log ( "Task list data failed to load." ) ;
25
29
} ,
26
30
) ; //load task list data
Original file line number Diff line number Diff line change 1
- declare module "vue-ellipse-progress" ; //use vue-ellipse-progress for circular progress
1
+ declare module "vue-ellipse-progress" ; //use vue-ellipse-progress for circular progress bars
You can’t perform that action at this time.
0 commit comments