This commit is contained in:
parent
3f17939d8e
commit
1e20ac5cf4
3 changed files with 10 additions and 15 deletions
|
@ -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: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue