<template>
<div>
<div class="table-box" :style="'width:'+width+'px;'+'max-height:'+height+'px'">
<table cellspacing="0" cellpadding="0" border="0">
<thead>
<tr v-for="(i,index) in rownum" :key="index">
<th>操作</th>
<th v-for="(label,lindex) in thlabel[index]" :key="lindex">{
{label.label}}</th>
</tr>
</thead>
<tbody>
<tr v-for="(data,dindex) in list" :key="dindex">
<td @click="deletHandle(data,dindex)"><img src="../assets/delete_icon.png" alt="" class="delete-icon"></td>
<td v-for="(key,index) in labelprop" :key="index">&
table 可编辑
最新推荐文章于 2024-02-23 22:00:00 发布