From 729e1d2e18aa6d76954dae9424578d7db35815dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=BD=E5=B0=8F=E6=A2=85?= <425605679@qq.com> Date: Sat, 9 Oct 2021 22:19:17 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9A=82=E5=AD=98]:=20=E6=9A=82=E5=AD=98?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/module/icon/index.vue | 2 +- src/module/tree/TreeEntity.vue | 107 ++++++++++++ src/module/tree/index.vue | 287 ++++++++++++++++++++------------- 3 files changed, 281 insertions(+), 115 deletions(-) create mode 100644 src/module/tree/TreeEntity.vue diff --git a/src/module/icon/index.vue b/src/module/icon/index.vue index 088a7fa0..bf67fe67 100644 --- a/src/module/icon/index.vue +++ b/src/module/icon/index.vue @@ -9,4 +9,4 @@ const props = defineProps<{ type?: string }>() - \ No newline at end of file + diff --git a/src/module/tree/TreeEntity.vue b/src/module/tree/TreeEntity.vue new file mode 100644 index 00000000..7f3adc2b --- /dev/null +++ b/src/module/tree/TreeEntity.vue @@ -0,0 +1,107 @@ + + + + + + + + + + + + {{ node.title }}---{{node._hasChild}} + + + + + + + + + + + + + + + {{ node.title }}, {{node._hasChild}},{{node._parentExtend}} + + + + + + diff --git a/src/module/tree/index.vue b/src/module/tree/index.vue index 0c05bef7..87f13f7e 100644 --- a/src/module/tree/index.vue +++ b/src/module/tree/index.vue @@ -1,5 +1,6 @@ - - - - - - 江西 - + + + + + + + + + 江西 - - - - - 南昌 - + + + + + + 南昌 - - - - - 青山湖区 - + + + + + + 青山湖区 - - - - 高新区 - + + + + + 高新区 - - - - 九江 - + + + + + 九江 - - - - 赣州 - + + + + + 赣州 - - - - 广西 - + + + + + 广西 - - - - - 南宁 - + + + + + + 南宁 - - - - 桂林 - + + + + + 桂林 - - - - 陕西 - + + + + + 陕西 - - - - - 西安 - + + + + + + 西安 - - - - 延安 - + + + + + 延安