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"
|
||||
>
|
||||
<div v-if="currentCodeData" class="flex gap-[8px]">
|
||||
<div class="h-[calc(100vh-80px)] w-[300px] overflow-y-scroll">
|
||||
<Tree
|
||||
v-if="treeData.length > 0"
|
||||
:show-line="{ showLeafIcon: false }"
|
||||
:tree-data="treeData"
|
||||
class="w-[300px]"
|
||||
:virtual="false"
|
||||
default-expand-all
|
||||
@select="handleSelect"
|
||||
>
|
||||
@ -172,6 +174,7 @@ function handleClose() {
|
||||
</div>
|
||||
</template>
|
||||
</Tree>
|
||||
</div>
|
||||
<CodeMirror
|
||||
v-model="codeContent"
|
||||
:language="language"
|
||||
|
Loading…
Reference in New Issue
Block a user