From 113237ea77065b07044df026659c2fd177237536 Mon Sep 17 00:00:00 2001 From: 2m411H <540351143@qq.com> Date: Mon, 6 Nov 2023 09:38:34 +0800 Subject: [PATCH 1/2] chore: add missing type --- src/runtime/types/dropdown.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/types/dropdown.d.ts b/src/runtime/types/dropdown.d.ts index 76ce627272..6145ad1bcd 100644 --- a/src/runtime/types/dropdown.d.ts +++ b/src/runtime/types/dropdown.d.ts @@ -10,4 +10,5 @@ export interface DropdownItem extends Link { shortcuts?: string[] disabled?: boolean click?: Function + to?: string } From 4663f580ca33674530fefbe78ab9c63f08bd9abb Mon Sep 17 00:00:00 2001 From: 2m411H <540351143@qq.com> Date: Mon, 6 Nov 2023 09:43:58 +0800 Subject: [PATCH 2/2] chore: add object type --- src/runtime/types/dropdown.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/types/dropdown.d.ts b/src/runtime/types/dropdown.d.ts index 6145ad1bcd..876dbb2e4a 100644 --- a/src/runtime/types/dropdown.d.ts +++ b/src/runtime/types/dropdown.d.ts @@ -10,5 +10,5 @@ export interface DropdownItem extends Link { shortcuts?: string[] disabled?: boolean click?: Function - to?: string + to?: string | object }