feat: 区域数据
@ -1 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719917303539" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12770" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M977.6 238.4c-9.6-9.6-21.6-14.4-33.6-14.4H472L366.4 118.4c-4-4-9.6-8-15.2-10.4-6.4-2.4-12-4-18.4-4H80c-12 0-24.8 4.8-33.6 14.4S32 140 32 152v280h960V272c0-12-4.8-24.8-14.4-33.6z" fill="#FFD766" p-id="12771"></path><path d="M944 912H80c-26.4 0-48-21.6-48-48V352h960v512c0 26.4-21.6 48-48 48z" fill="#FFAC33" p-id="12772"></path></svg>
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719992583321" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3328" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M0 139.636364a46.545455 46.545455 0 0 1 46.545455-46.545455h354.897454a51.2 51.2 0 0 1 47.057455 31.034182L473.6 182.679273 977.454545 182.690909a46.545455 46.545455 0 0 1 46.545455 46.545455v546.909091a46.545455 46.545455 0 0 1-46.545455 46.545454H46.545455a46.545455 46.545455 0 0 1-46.545455-46.545454V139.636364z" fill="#FFA000" p-id="3329"></path><path d="M0 276.945455m46.545455 0l930.90909 0q46.545455 0 46.545455 46.545454l0 558.545455q0 46.545455-46.545455 46.545454l-930.90909 0q-46.545455 0-46.545455-46.545454l0-558.545455q0-46.545455 46.545455-46.545454Z" fill="#FFCA28" p-id="3330"></path></svg>
|
||||
|
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 942 B |
@ -1 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719917310599" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13113" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M841.6 238.4c-9.6-9.6-21.6-14.4-33.6-14.4H432L326.4 118.4c-4-4-9.6-8-15.2-10.4-6.4-2.4-12-4-18.4-4H80c-12 0-24.8 4.8-33.6 14.4S32 140 32 152v712c0 12 4.8 24.8 14.4 33.6S68 912 80 912h728c12 0 24.8-4.8 33.6-14.4 9.6-9.6 14.4-21.6 14.4-33.6V272c0-12-4.8-24.8-14.4-33.6z" fill="#FFD766" p-id="13114"></path><path d="M858.4 877.6c-3.2 9.6-8.8 18.4-17.6 24.8-8.8 6.4-18.4 9.6-28.8 9.6H88.8c-14.4 0-28.8-6.4-38.4-19.2s-12-28.8-7.2-42.4l139.2-464c3.2-9.6 8.8-18.4 17.6-24.8 8.8-6.4 18.4-9.6 28.8-9.6h724c14.4 0 28.8 6.4 38.4 19.2 9.6 12.8 12 28.8 7.2 42.4l-140 464z" fill="#FFAC33" p-id="13115"></path></svg>
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719992587660" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3495" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M0 128a51.2 51.2 0 0 1 51.2-51.2h350.24a51.2 51.2 0 0 1 47.0592 31.0336L473.6 166.4h499.2a51.2 51.2 0 0 1 51.2 51.2v537.6a51.2 51.2 0 0 1-51.2 51.2H51.2a51.2 51.2 0 0 1-51.2-51.2V128z" fill="#FFA000" p-id="3496"></path><path d="M89.6 249.6m51.2 0l742.4 0q51.2 0 51.2 51.2l0 460.8q0 51.2-51.2 51.2l-742.4 0q-51.2 0-51.2-51.2l0-460.8q0-51.2 51.2-51.2Z" fill="#FFFFFF" p-id="3497"></path><path d="M0 332.8m51.2 0l921.6 0q51.2 0 51.2 51.2l0 512q0 51.2-51.2 51.2l-921.6 0q-51.2 0-51.2-51.2l0-512q0-51.2 51.2-51.2Z" fill="#FFCA28" p-id="3498"></path></svg>
|
||||
|
Before Width: | Height: | Size: 935 B After Width: | Height: | Size: 883 B |
@ -1 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1717390925944" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8699" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M160 32c-12 0-24.8 4.8-33.6 14.4S112 68 112 80v864c0 12 4.8 24.8 14.4 33.6 9.6 9.6 21.6 14.4 33.6 14.4h704c12 0 24.8-4.8 33.6-14.4 9.6-9.6 14.4-21.6 14.4-33.6V304L640 32H160z" fill="#FF5562" p-id="8700"></path><path d="M912 304H688c-12 0-24.8-4.8-33.6-14.4-9.6-8.8-14.4-21.6-14.4-33.6V32l272 272z" fill="#FFBBC0" p-id="8701"></path><path d="M669.6 491.2c0-1.6 0.8-4 0-6.4V369.6c0-4.8-2.4-8.8-5.6-12-4-3.2-8-4-12.8-3.2l-250.4 70.4c-7.2 1.6-12 7.2-12 14.4v275.2c-9.6-4-20.8-6.4-32.8-6.4-8.8 0-17.6 0.8-26.4 3.2-40.8 11.2-66.4 43.2-58.4 72.8 6.4 23.2 30.4 37.6 60.8 37.6 8.8 0 17.6-1.6 26.4-3.2 36.8-10.4 60.8-36.8 60-63.2 0.8-1.6 0.8-3.2 0.8-5.6V570.4l220-61.6v136c-9.6-4-20.8-6.4-32.8-6.4-8.8 0-17.6 0.8-26.4 3.2-40.8 11.2-66.4 43.2-58.4 72.8 6.4 23.2 30.4 37.6 60.8 37.6 8.8 0 17.6-0.8 26.4-3.2 36-9.6 60-36 60-62.4 0.8-1.6 0.8-3.2 0.8-5.6V491.2z m-250.4 48v-53.6L639.2 424v53.6l-220 61.6z" fill="#FFFFFF" p-id="8702"></path></svg>
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719992946112" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7840" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M160 32c-12 0-24.8 4.8-33.6 14.4S112 68 112 80v864c0 12 4.8 24.8 14.4 33.6 9.6 9.6 21.6 14.4 33.6 14.4h704c12 0 24.8-4.8 33.6-14.4 9.6-9.6 14.4-21.6 14.4-33.6V304L640 32H160z" fill="#FF5562" p-id="7841"></path><path d="M912 304H688c-12 0-24.8-4.8-33.6-14.4-9.6-8.8-14.4-21.6-14.4-33.6V32l272 272z" fill="#FFBBC0" p-id="7842"></path><path d="M669.6 491.2c0-1.6 0.8-4 0-6.4V369.6c0-4.8-2.4-8.8-5.6-12-4-3.2-8-4-12.8-3.2l-250.4 70.4c-7.2 1.6-12 7.2-12 14.4v275.2c-9.6-4-20.8-6.4-32.8-6.4-8.8 0-17.6 0.8-26.4 3.2-40.8 11.2-66.4 43.2-58.4 72.8 6.4 23.2 30.4 37.6 60.8 37.6 8.8 0 17.6-1.6 26.4-3.2 36.8-10.4 60.8-36.8 60-63.2 0.8-1.6 0.8-3.2 0.8-5.6V570.4l220-61.6v136c-9.6-4-20.8-6.4-32.8-6.4-8.8 0-17.6 0.8-26.4 3.2-40.8 11.2-66.4 43.2-58.4 72.8 6.4 23.2 30.4 37.6 60.8 37.6 8.8 0 17.6-0.8 26.4-3.2 36-9.6 60-36 60-62.4 0.8-1.6 0.8-3.2 0.8-5.6V491.2z m-250.4 48v-53.6L639.2 424v53.6l-220 61.6z" fill="#FFFFFF" p-id="7843"></path></svg>
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@ -1 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1717390867586" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7716" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M80 34.4h864v960H80z" fill="#8095FF" p-id="7717"></path><path d="M176 112m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7718"></path><path d="M176 272m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7719"></path><path d="M176 432m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7720"></path><path d="M176 592m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7721"></path><path d="M176 752m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7722"></path><path d="M176 912m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7723"></path><path d="M864 112m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7724"></path><path d="M864 272m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7725"></path><path d="M864 432m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7726"></path><path d="M864 592m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7727"></path><path d="M864 752m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7728"></path><path d="M864 912m-40 0a40 40 0 1 0 80 0 40 40 0 1 0-80 0Z" fill="#FFFFFF" p-id="7729"></path><path d="M648 508L436 362.4c-4.8-3.2-11.2-4-16.8-0.8-5.6 3.2-8.8 8.8-8.8 14.4v290.4c0 5.6 3.2 11.2 8.8 14.4 5.6 3.2 12 2.4 16.8-0.8L648 533.6c4.8-2.4 7.2-8 7.2-12.8 0-4.8-3.2-9.6-7.2-12.8z" fill="#FFFFFF" p-id="7730"></path></svg>
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719992638380" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3663" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z" fill="#7C8EEE" p-id="3664"></path><path d="M702.2976 579.2896l-298.5664 177.984c-19.9488 12.0192-45.3312-2.4128-45.3312-25.856v-355.968c0-22.848 25.3824-37.2736 45.3312-25.856l298.56 177.984c19.3408 12.032 19.3408 40.288 0 51.712z" fill="#FFFFFF" p-id="3665"></path><path d="M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z" fill="#CAD1F8" p-id="3666"></path></svg>
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 814 B |
@ -1 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1717390918828" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8527" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M160 32c-12 0-24.8 4.8-33.6 14.4S112 68 112 80v864c0 12 4.8 24.8 14.4 33.6 9.6 9.6 21.6 14.4 33.6 14.4h704c12 0 24.8-4.8 33.6-14.4 9.6-9.6 14.4-21.6 14.4-33.6V304L640 32H160z" fill="#6CCBFF" p-id="8528"></path><path d="M912 304H688c-12 0-24.8-4.8-33.6-14.4-9.6-8.8-14.4-21.6-14.4-33.6V32l272 272z" fill="#C4EAFF" p-id="8529"></path><path d="M280 385.6h64.8l64.8 244h0.8l71.2-244H544l72 244 65.6-244H744L648 700h-64.8L512 458.4h-0.8l-72 240.8h-64.8L280 385.6z" fill="#FFFFFF" p-id="8530"></path></svg>
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719992941116" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7668" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M160 32c-12 0-24.8 4.8-33.6 14.4S112 68 112 80v864c0 12 4.8 24.8 14.4 33.6 9.6 9.6 21.6 14.4 33.6 14.4h704c12 0 24.8-4.8 33.6-14.4 9.6-9.6 14.4-21.6 14.4-33.6V304L640 32H160z" fill="#6CCBFF" p-id="7669"></path><path d="M912 304H688c-12 0-24.8-4.8-33.6-14.4-9.6-8.8-14.4-21.6-14.4-33.6V32l272 272z" fill="#C4EAFF" p-id="7670"></path><path d="M280 385.6h64.8l64.8 244h0.8l71.2-244H544l72 244 65.6-244H744L648 700h-64.8L512 458.4h-0.8l-72 240.8h-64.8L280 385.6z" fill="#FFFFFF" p-id="7671"></path></svg>
|
||||
|
Before Width: | Height: | Size: 833 B After Width: | Height: | Size: 833 B |
@ -0,0 +1,51 @@
|
||||
class fileTreeData {
|
||||
static tree: any = [
|
||||
{
|
||||
title: "三国地域分布",
|
||||
key: "0-0",
|
||||
children: [
|
||||
{
|
||||
title: "魏国领地",
|
||||
key: "0-0-0",
|
||||
children: [
|
||||
{ title: "leaf", key: "0-0-0-0" },
|
||||
{
|
||||
title: "leaf",
|
||||
key: "0-0-0-1",
|
||||
children: [{ title: "leaf", key: "0-0-0-1-0" }]
|
||||
},
|
||||
{ title: "leaf", key: "0-0-0-2" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "吴国领地",
|
||||
key: "0-0-1"
|
||||
},
|
||||
{
|
||||
title: "蜀国领地",
|
||||
key: "0-0-2",
|
||||
children: [
|
||||
{ title: "leaf", key: "0-0-2-0" },
|
||||
{
|
||||
title: "leaf",
|
||||
key: "0-0-2-1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
export { fileTreeData };
|
||||
|
||||
// 三国(220年-280年)是上承东汉下启西晋的一段历史时期,分为曹魏、蜀汉、东吴三个政权。赤壁之战时,曹操被孙刘联军击败,奠定了三国鼎立的雏型。这三国大致继承东汉的疆域及政区制度,为州、郡、县三级制。州设刺史或州牧。郡设太守。县大者置令,小者置长。
|
||||
|
||||
// 魏国领地
|
||||
// 曹魏的疆域主要在曹操时即大幅发展,至曹丕称帝建国后定型,约占有整个华北地区。大致上北至山西、河北及辽东,与南匈奴、鲜卑及高句丽相邻;东至黄海。东南与孙吴对峙于长江淮河一带及汉江长江一带,以寿春、襄阳为重镇;西至甘肃,与河西鲜卑、羌及氐相邻。西南与蜀汉对峙于秦岭、河西一带,以长安为重镇。在立国后原有87郡及十二州,有:司隶、徐州、青州、豫州、冀州、并州、幽州、兖州、凉州、雍州、荆州(占荆州北部)、扬州(占扬州北部)。于西域设置管辖海头(今新疆罗布泊西)的西域长史和管辖高昌的戊己校尉。221年孙权称藩后,曹魏让孙权领有荆州牧,将荆扬等孙权势力则定为荆州,曹魏原直辖的荆州北部改称为郢州。双方决裂后曹魏复改郢州为荆州。220年至226年,分陇右置秦州,最后并入雍州。
|
||||
|
||||
// 吴国领地
|
||||
// 孙吴的疆域在孙策时即拥有大部分的扬州。孙权在赤壁之战后陆续获得荆州西部、交州,并在击败关羽后获得整个荆州南部。至孙权称帝后疆域方稳定下来。孙吴北与曹魏对峙在长江淮河一带及汉江长江一带,以建业、江陵为重镇;西与蜀汉相邻于三峡,西陵为重镇;东及南至东海南海,其中最南达现在越南的中部。孙吴原有32郡及三州:荆州、扬州、交州。于226年设置广州,后并入交州。至264年复设,共增加一州。
|
||||
|
||||
// 蜀国领地
|
||||
// 蜀汉疆域仅有益州。其创建者刘备直到赤壁之战后才在诸葛亮协助下,由荆州南部开始发展。其势力一度涵盖荆州(占荆州西部)、益州及汉中。立国前后与孙吴发生多次战争并损失荆州,于诸葛亮南定南中后获得云南一带疆域,至此渐渐稳定。疆域范围:北方与曹魏对峙于秦岭,汉中为重镇;东与孙吴相邻于三峡,巴西为重镇;西南至岷江、南中,与羌、氐及南蛮相邻。蜀汉共有22郡、仅益州一州。于益州下设庲降都督,治味县(今云南曲靖),专辖益州南部。
|
||||
@ -0,0 +1,62 @@
|
||||
<template>
|
||||
<div>
|
||||
<a-input class="search-tree" v-model="searchKey" placeholder="请输入搜索关键词">
|
||||
<template #prefix>
|
||||
<icon-search />
|
||||
</template>
|
||||
</a-input>
|
||||
<a-tree :data="treeData" :show-line="true">
|
||||
<template #icon="node">
|
||||
<SvgIcon name="folder-close" :size="16" v-if="!node.isLeaf && !node.expanded"></SvgIcon>
|
||||
<SvgIcon name="folder-open" :size="16" v-if="!node.isLeaf && node.expanded"></SvgIcon>
|
||||
<SvgIcon name="txt" :size="16" v-if="node.isLeaf"></SvgIcon>
|
||||
</template>
|
||||
</a-tree>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { fileTreeData } from "@/views/file-management/document-library/components/file-tree-data.js";
|
||||
const searchKey = ref("");
|
||||
|
||||
const treeData = computed(() => {
|
||||
if (!searchKey.value) return sourceTree.value;
|
||||
return searchData(searchKey.value);
|
||||
});
|
||||
|
||||
// 搜索树
|
||||
const searchData = (keyword: string) => {
|
||||
const loop = (tree: any) => {
|
||||
const result: any = []; // 存储搜索结果
|
||||
tree.forEach((item: any) => {
|
||||
// 匹配节点
|
||||
if (item.title.toLowerCase().indexOf(keyword.toLowerCase()) > -1) {
|
||||
result.push({ ...item });
|
||||
} else if (item.children) {
|
||||
// 不匹配,但是有children,深层遍历
|
||||
// filterData 存储遍历结果
|
||||
const filterData = loop(item.children);
|
||||
// 如果在深层遍历中,匹配到
|
||||
if (filterData.length) {
|
||||
// 将结果存储到children中
|
||||
result.push({
|
||||
...item,
|
||||
children: filterData
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
return result;
|
||||
};
|
||||
// 开始递归
|
||||
return loop(sourceTree.value);
|
||||
};
|
||||
|
||||
const sourceTree = ref(fileTreeData.tree);
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.search-tree {
|
||||
margin-bottom: $margin;
|
||||
}
|
||||
</style>
|
||||
@ -5,13 +5,7 @@
|
||||
<div class="left-box">
|
||||
<a-scrollbar style="height: 100%; overflow: auto" outer-class="scrollbar">
|
||||
<div class="left-tree-box">
|
||||
<a-tree :data="treeData" :show-line="true">
|
||||
<template #icon="node">
|
||||
<SvgIcon name="folder-close" :size="16" v-if="!node.isLeaf && !node.expanded"></SvgIcon>
|
||||
<SvgIcon name="folder-open" :size="16" v-if="!node.isLeaf && node.expanded"></SvgIcon>
|
||||
<SvgIcon name="txt" :size="16" v-if="node.isLeaf"></SvgIcon>
|
||||
</template>
|
||||
</a-tree>
|
||||
<FileTree />
|
||||
</div>
|
||||
</a-scrollbar>
|
||||
</div>
|
||||
@ -22,60 +16,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const treeData = ref([
|
||||
{
|
||||
title: "Trunk 1",
|
||||
key: "0-0",
|
||||
children: [
|
||||
{
|
||||
title: "Trunk 1-0",
|
||||
key: "0-0-0",
|
||||
children: [
|
||||
{ title: "leaf", key: "0-0-0-0" },
|
||||
{
|
||||
title: "leaf",
|
||||
key: "0-0-0-1",
|
||||
children: [{ title: "leaf", key: "0-0-0-1-0" }]
|
||||
},
|
||||
{ title: "leaf", key: "0-0-0-2" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Trunk 1-1",
|
||||
key: "0-0-1"
|
||||
},
|
||||
{
|
||||
title: "Trunk 1-2",
|
||||
key: "0-0-2",
|
||||
children: [
|
||||
{ title: "leaf", key: "0-0-2-0" },
|
||||
{
|
||||
title: "leaf",
|
||||
key: "0-0-2-1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Trunk 2",
|
||||
key: "0-1"
|
||||
},
|
||||
{
|
||||
title: "Trunk 3",
|
||||
key: "0-2",
|
||||
children: [
|
||||
{
|
||||
title: "Trunk 3-0",
|
||||
key: "0-2-0",
|
||||
children: [
|
||||
{ title: "leaf", key: "0-2-0-0" },
|
||||
{ title: "leaf", key: "0-2-0-1" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]);
|
||||
import FileTree from "@/views/file-management/document-library/components/file-tree.vue";
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||