获取数据
v-perfect-scrollbar
border
resizable
:data="tableData">
{ { scope.row.column_1 }}
{ { scope.row.column_2 }}
{ { scope.row.column_3 }}
{ { scope.row.column_4 }}
{ { scope.row.column_5 }}
{ { scope.row.column_6 }}
{ { scope.row.column_7 }}
{ { scope.row.column_8 }}
{ { scope.row.column_9 }}
{ { scope.row.column_10 }}
{ { scope.row.column_11 }}
{ { scope.row.column_12 }}
export
default {
data() {
return {
tableData:[]
}
},
methods: {
getData() {
var len = this.tableData.length
var i = 0;
while (i < 50) {
var bz = len + i;
this.tableData.push({
column_1: "第1-" + bz + "行的数据",
column_2: "第2-" + bz + "行的数据",
column_3: "第3-" + bz + "行的数据",
column_4: "第4-" + bz + "行的数据",
column_5: &