添加属性编辑器,调整自适应宽度布局

This commit is contained in:
lhj
2024-10-03 12:57:53 +08:00
parent 4a30d7fb37
commit 9e614657d7
2 changed files with 96 additions and 49 deletions

View File

@ -1,7 +1,7 @@
<template>
<ul class="drag-area" ref="el" style="margin: 0;">
<li v-for="el in modelValue" :key="el.name">
<div style="width: 200px;border: 1px solid red;">
<div style="min-width: fit-content;border: 1px solid red;">
<p>{{ el.name }}:{{ el.id }}</p>
</div>
<nested-function v-model="el.children" />