From c01dff9a24f98f10f247d2f2e449383f567ec338 Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期三, 18 五月 2022 14:55:48 +0800 Subject: [PATCH] 提交代码 --- src/views/components/building/buildList.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/components/building/buildList.vue b/src/views/components/building/buildList.vue index dfaeccf..59c1008 100644 --- a/src/views/components/building/buildList.vue +++ b/src/views/components/building/buildList.vue @@ -20,6 +20,7 @@ ref="singleTable" v-loading="loading" :data="buildingList" + height="50vh" row-key="id" default-expand-all :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @@ -73,10 +74,8 @@ currentRow: undefined }; }, - watch: { - 'schoolId': function (v) { - this.getList() - } + mounted() { + this.getList() }, methods: { /** 鏌ヨ寤虹瓚鍗曞厓鍒楄〃 */ -- Gitblit v1.9.1