序号bug

This commit is contained in:
chenjianan
2018-11-28 13:28:54 +08:00
parent 8be156014d
commit 4f189a6c9c
2 changed files with 2 additions and 4 deletions

View File

@@ -19,8 +19,7 @@
<el-card> <el-card>
<el-table v-loading="" :data="tableData1" show-summary stripe border style="width: 100%;max-height: 500px;" height="500px" size="mini"> <el-table v-loading="" :data="tableData1" show-summary stripe border style="width: 100%;max-height: 500px;" height="500px" size="mini">
<el-table-column label="序号" align="center" width="80" type="index"> <el-table-column label="序号" align="center" width="80" type="index"/>
</el-table-column>
<el-table-column label="项目名称" align="center" min-width="100"> <el-table-column label="项目名称" align="center" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}

View File

@@ -21,8 +21,7 @@
show-summary show-summary
stripe stripe
border> border>
<el-table-column align="center" label="序号" type="index"> <el-table-column align="center" label="序号" type="index"/>
</el-table-column>
<el-table-column align="center" label="项目名称"> <el-table-column align="center" label="项目名称">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}