This commit is contained in:
Aresn 2017-05-22 10:49:46 +08:00
parent 3f17939d8e
commit 1e20ac5cf4
3 changed files with 10 additions and 15 deletions

View file

@ -11,7 +11,7 @@
data () {
return {
data1: 1,
// self: this,
self: this,
columns7: [
{
title: '姓名',
@ -42,9 +42,9 @@
key: 'action',
width: 150,
align: 'center',
render (row, column, index) {
return `<i-button type="primary" size="small" @click="show(${index})">查看</i-button> <i-button type="error" size="small" @click="remove(${index})">删除</i-button>`;
}
// render (row, column, index) {
// return `<i-button type="primary" size="small" @click="show(${index})"></i-button> <i-button type="error" size="small" @click="remove(${index})"></i-button>`;
// }
}
],
data6: [