修改权利信息页相关bug
Showing
2 changed files
with
4 additions
and
3 deletions
... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
16 | </div> | 16 | </div> |
17 | <div class="xxTableBox"> | 17 | <div class="xxTableBox"> |
18 | <table class="xxTable"> | 18 | <table class="xxTable"> |
19 | <tr v-for="item in columns" :key="item"> | 19 | <tr v-for="(item, colindex) in columns" :key="colindex"> |
20 | <td> | 20 | <td> |
21 | {{ item.label }} | 21 | {{ item.label }} |
22 | </td> | 22 | </td> |
... | @@ -38,7 +38,7 @@ | ... | @@ -38,7 +38,7 @@ |
38 | 38 | ||
39 | <span v-else> {{ row[item.prop] }}</span> | 39 | <span v-else> {{ row[item.prop] }}</span> |
40 | </td> | 40 | </td> |
41 | <td v-for="count in emptycolNum" :key="count"></td> | 41 | <td v-for="count in emptycolNum" :key="~count"></td> |
42 | </tr> | 42 | </tr> |
43 | </table> | 43 | </table> |
44 | </div> | 44 | </div> |
... | @@ -80,9 +80,9 @@ export default { | ... | @@ -80,9 +80,9 @@ export default { |
80 | }, | 80 | }, |
81 | created() { | 81 | created() { |
82 | this.propsParam = this.$attrs; | 82 | this.propsParam = this.$attrs; |
83 | //debugger; | ||
84 | this.columns = datas.columns(); | 83 | this.columns = datas.columns(); |
85 | this.loadData(); | 84 | this.loadData(); |
85 | // this.$alert(datas.columns()); | ||
86 | }, | 86 | }, |
87 | methods: { | 87 | methods: { |
88 | loadData() { | 88 | loadData() { | ... | ... |
-
Please register or sign in to post a comment