diff --git a/src/eventBus.ts b/src/eventBus.ts index 8525a65..2127bcb 100644 --- a/src/eventBus.ts +++ b/src/eventBus.ts @@ -15,6 +15,7 @@ export type ErrorModalData = { } type Events = { + initDevice: void confirm: { value: number; index: number } 'show-error-modal': ErrorModalData 'show-stack-modal': ErrorModalData['stackInfo'] | null | undefined diff --git a/src/pages/Index/Index.vue b/src/pages/Index/Index.vue index 310f36e..2d1cec6 100644 --- a/src/pages/Index/Index.vue +++ b/src/pages/Index/Index.vue @@ -83,12 +83,13 @@