feat: preview style
parent
b6b9c8f56a
commit
99ac17a506
|
@ -1,12 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<BasicModal v-bind="$attrs" :defaultFullscreen="true" @register="registerModal" title="预览代码">
|
<BasicModal v-bind="$attrs" :defaultFullscreen="true" @register="registerModal" title="预览代码">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<Card class="w-1/4">
|
<Card class="w-1/4 min-w-130">
|
||||||
<BasicTree
|
<BasicTree
|
||||||
title="文件夹列表"
|
title="文件夹列表"
|
||||||
toolbar
|
toolbar
|
||||||
:defaultExpandAll="true"
|
:defaultExpandAll="true"
|
||||||
treeWrapperClassName="h-[calc(100%-35px)] overflow-auto"
|
treeWrapperClassName="h-[800px] overflow-auto"
|
||||||
:clickRowToExpand="false"
|
:clickRowToExpand="false"
|
||||||
:treeData="fileTree"
|
:treeData="fileTree"
|
||||||
:fieldNames="{ key: 'id', title: 'label' }"
|
:fieldNames="{ key: 'id', title: 'label' }"
|
||||||
|
|
Loading…
Reference in New Issue