From 0d68be1fa109b0f55fa0b4c023baf4b66dcc9f28 Mon Sep 17 00:00:00 2001 From: liuchengxin <13104445455@163.com> Date: 星期四, 09 六月 2022 14:06:39 +0800 Subject: [PATCH] BUG修改 --- src/views/components/building/buildList.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/components/building/buildList.vue b/src/views/components/building/buildList.vue index 8a9174c..fc262c4 100644 --- a/src/views/components/building/buildList.vue +++ b/src/views/components/building/buildList.vue @@ -1,6 +1,6 @@ <template> <div class="app-container"> - <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px"> + <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px" @submit.native.prevent> <el-form-item label="鍗曞厓鍚嶇О" prop="name"> <el-input v-model="queryParams.name" @@ -20,13 +20,14 @@ ref="singleTable" v-loading="loading" :data="buildingList" + height="50vh" row-key="id" default-expand-all :tree-props="{children: 'children', hasChildren: 'hasChildren'}" highlight-current-row @current-change="handleCurrentChange" > - <el-table-column label="鍗曞厓鍚嶇О" align="center" prop="name"/> + <el-table-column label="鍗曞厓鍚嶇О" align="left" prop="name"/> <el-table-column label="鍗曞厓缂栧彿" prop="code"/> <el-table-column label="鏄剧ず椤哄簭" align="center" prop="orderNum"/> </el-table> -- Gitblit v1.9.1