36f4716b by 田浩浩

修改权利信息页相关bug

1 parent 01ac4244
......@@ -16,7 +16,7 @@
</div>
<div class="xxTableBox">
<table class="xxTable">
<tr v-for="item in columns" :key="item">
<tr v-for="(item, colindex) in columns" :key="colindex">
<td>
{{ item.label }}
</td>
......@@ -38,7 +38,7 @@
<span v-else> {{ row[item.prop] }}</span>
</td>
<td v-for="count in emptycolNum" :key="count"></td>
<td v-for="count in emptycolNum" :key="~count"></td>
</tr>
</table>
</div>
......@@ -80,9 +80,9 @@ export default {
},
created() {
this.propsParam = this.$attrs;
//debugger;
this.columns = datas.columns();
this.loadData();
// this.$alert(datas.columns());
},
methods: {
loadData() {
......
......@@ -32,6 +32,7 @@
.xxTableBox {
overflow-x: scroll;
width: 100%;
padding-bottom: 120px;
}
.xxTable > tr:first-child th {
......