refactor: add defineModel nodes
This commit is contained in:
parent
2da944b30e
commit
659f78211e
1 changed files with 2 additions and 1 deletions
|
|
@ -39,6 +39,7 @@ const { data: config } = storeToRefs(configStore);
|
|||
|
||||
const prop = defineProps<{
|
||||
agentPrice: boolean;
|
||||
nodesFormOutput?: Node[];
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
|
|
@ -85,7 +86,7 @@ const priceDisplay = computed(() => ({
|
|||
|
||||
onMounted(configStore.getConfig);
|
||||
|
||||
const nodes = ref<Node[]>([]);
|
||||
const nodes = defineModel<Node[]>('nodes', { required: true, default: [] });
|
||||
const productServiceCard = ref<{
|
||||
service: Record<string, any>[];
|
||||
product: Record<string, any>[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue