diff --git a/console/packages/editor/src/components/block/BlockActionInput.vue b/console/packages/editor/src/components/block/BlockActionInput.vue index c733fc2857..76121fd1dd 100644 --- a/console/packages/editor/src/components/block/BlockActionInput.vue +++ b/console/packages/editor/src/components/block/BlockActionInput.vue @@ -5,9 +5,10 @@ import { VTooltip } from "floating-vue"; const props = withDefaults( defineProps<{ tooltip?: string; - modelValue: string; + modelValue?: string; }>(), { + modelValue: "", tooltip: undefined, } ); diff --git a/console/packages/editor/src/components/bubble/BubbleItem.vue b/console/packages/editor/src/components/bubble/BubbleItem.vue index 09dff5032f..294b8dba80 100644 --- a/console/packages/editor/src/components/bubble/BubbleItem.vue +++ b/console/packages/editor/src/components/bubble/BubbleItem.vue @@ -6,7 +6,7 @@ import { ref, type Component } from "vue"; const props = withDefaults( defineProps<{ editor: Editor; - isActive: ({ editor }: { editor: Editor }) => boolean; + isActive?: ({ editor }: { editor: Editor }) => boolean; visible?: ({ editor }: { editor: Editor }) => boolean; icon?: Component; iconStyle?: string; diff --git a/console/packages/editor/src/extensions/iframe/IframeView.vue b/console/packages/editor/src/extensions/iframe/IframeView.vue index 7905090c9a..3a9078268d 100644 --- a/console/packages/editor/src/extensions/iframe/IframeView.vue +++ b/console/packages/editor/src/extensions/iframe/IframeView.vue @@ -44,7 +44,7 @@ onMounted(() => {