重构CommandEditor组件

This commit is contained in:
fofolee
2025-02-15 11:28:26 +08:00
parent 9ffa941e72
commit c6b511696a
22 changed files with 1038 additions and 1776 deletions

View File

@@ -11,7 +11,7 @@
<div class="col command-section">
<FlowTabs
@action="handleAction"
:show-close-button="showCloseButton"
:disabled-control-buttons="disabledControlButtons"
:model-value="modelValue"
@update:model-value="$emit('update:modelValue', $event)"
/>
@@ -42,9 +42,9 @@ export default defineComponent({
};
},
props: {
showCloseButton: {
type: Boolean,
default: true,
disabledControlButtons: {
type: Array,
default: () => [],
},
modelValue: {
type: Object,