Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Use String instead Object for declaring the style type

Tianzhou Chen0acde2010f4f
diff --git a/frontend/src/bbkit/BBAlert.vue b/frontend/src/bbkit/BBAlert.vue
index f12beef109..783d3e00f9 100644
--- a/frontend/src/bbkit/BBAlert.vue
+++ b/frontend/src/bbkit/BBAlert.vue
@@ -167,7 +167,7 @@ export default {
emits: ["ok", "cancel"],
props: {
style: {
- type: Object as PropType<"INFO" | "SUCCESS" | "WARN" | "CRITICAL">,
+ type: String as PropType<"INFO" | "SUCCESS" | "WARN" | "CRITICAL">,
default: "INFO",
},
title: {