Merge branch 'master-v32-lushangqing' into 'master'
故障联调 表格多选居中及节点名称去掉空格 See merge request !266
Showing
2 changed files
with
2 additions
and
2 deletions
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | <!-- 表格--> | 2 | <!-- 表格--> |
3 | <el-table :border="showBorder" v-loading="loading" :size="size" ref="multipleTable" @selection-change="handleSelectionChange" :data="dataList" stripe header-row-class-name="tbl-header-class" :height="height" | 3 | <el-table :border="showBorder" v-loading="loading" :size="size" ref="multipleTable" @selection-change="handleSelectionChange" :data="dataList" stripe header-row-class-name="tbl-header-class" :height="height" |
4 | style="width: 100%;margin: 0px 0px;"> | 4 | style="width: 100%;margin: 0px 0px;"> |
5 | - <el-table-column v-if="showSelection && columns.length > 0" type="selection" width="55" /> | 5 | + <el-table-column v-if="showSelection && columns.length > 0" align="center" type="selection" width="55" /> |
6 | <el-table-column v-if="showIndex && columns.length > 0" type="index" :label="indexLabel" align="center" width="50"/> | 6 | <el-table-column v-if="showIndex && columns.length > 0" type="index" :label="indexLabel" align="center" width="50"/> |
7 | 7 | ||
8 | <el-table-column v-for="item in columns" :prop="item.prop" :label="item.label" :sortable="item.sortable == undefined ? false : item.sortable" :align="item.align == undefined ? 'center' : item.align " | 8 | <el-table-column v-for="item in columns" :prop="item.prop" :label="item.label" :sortable="item.sortable == undefined ? false : item.sortable" :align="item.align == undefined ? 'center' : item.align " |
@@ -152,7 +152,7 @@ | @@ -152,7 +152,7 @@ | ||
152 | </el-row> | 152 | </el-row> |
153 | <el-row v-if="flag" class="flex-div-start" style="margin-bottom: 10px;margin-top: 10px;padding-top:10px;border-top:1px solid #ebeef5" > | 153 | <el-row v-if="flag" class="flex-div-start" style="margin-bottom: 10px;margin-top: 10px;padding-top:10px;border-top:1px solid #ebeef5" > |
154 | <span>节点名称</span> | 154 | <span>节点名称</span> |
155 | - <el-input style="flex:1;margin-left:10px;" class="margin-right-10" maxlength="50" v-model="nodeName" placeholder="输入节点名称" /> | 155 | + <el-input style="flex:1;margin-left:10px;" class="margin-right-10" maxlength="50" v-model.trim="nodeName" placeholder="输入节点名称" /> |
156 | </el-row> | 156 | </el-row> |
157 | <el-row class="margin-bottom-50"> | 157 | <el-row class="margin-bottom-50"> |
158 | <el-col :span="24" :class="[{'table-height':!flag},{'table-height-45':flag}]"> | 158 | <el-col :span="24" :class="[{'table-height':!flag},{'table-height-45':flag}]"> |
-
Please register or login to post a comment