Skip to content

Commit 49bc852

Browse files
committed
1 parent 2492fad commit 49bc852

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

adminforth/documentation/docs/tutorial/08-Plugins/23-background-jobs.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ After registering a handler, you can create a job. For example:
292292
There may be cases when you need to display the state of job tasks. For this, you can register a custom component.
293293
294294
295+
1) You need to create a custom vue component:
295296
```ts title="./custom/JobCustomComponent.vue"
296297
<template>
297298
<div class="w-[1000px] h-[500px] bg-gray-100 rounded-lg p-4 flex flex-col items-center justify-center ">
@@ -358,7 +359,7 @@ onUnmounted(() => {
358359
```
359360
360361
361-
Now register this component explicitly:
362+
2) Now register this component explicitly:
362363
363364
```ts title="./index.ts"
364365
export const admin = new AdminForth({
@@ -399,7 +400,7 @@ export const admin = new AdminForth({
399400
```
400401
401402
402-
Finally, register this component alongside the job task handler:
403+
3) Finally, register this component alongside the job task handler:
403404
404405
```ts title="./index.ts"
405406
...

0 commit comments

Comments
 (0)