Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
This commit is contained in:
parent
be54bfb2b7
commit
245e14ec34
@ -158,10 +158,12 @@ function handleClose() {
|
|||||||
:title="modalTitle"
|
:title="modalTitle"
|
||||||
>
|
>
|
||||||
<div v-if="currentCodeData" class="flex gap-[8px]">
|
<div v-if="currentCodeData" class="flex gap-[8px]">
|
||||||
|
<div class="h-[calc(100vh-80px)] w-[300px] overflow-y-scroll">
|
||||||
<Tree
|
<Tree
|
||||||
v-if="treeData.length > 0"
|
v-if="treeData.length > 0"
|
||||||
|
:show-line="{ showLeafIcon: false }"
|
||||||
:tree-data="treeData"
|
:tree-data="treeData"
|
||||||
class="w-[300px]"
|
:virtual="false"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
@select="handleSelect"
|
@select="handleSelect"
|
||||||
>
|
>
|
||||||
@ -172,6 +174,7 @@ function handleClose() {
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</Tree>
|
</Tree>
|
||||||
|
</div>
|
||||||
<CodeMirror
|
<CodeMirror
|
||||||
v-model="codeContent"
|
v-model="codeContent"
|
||||||
:language="language"
|
:language="language"
|
||||||
|
Loading…
Reference in New Issue
Block a user