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: { /** 查询建筑单元列表 */