使用div包裹内容进行支撑
<table cellspacing="0"> <caption>89 HOLLAND ROAD SINGAPORE 275750</caption> <tbody> <tr> <th class="tou">{{i}}</th> <td v-for="i in buildinglist[0].cell" :key="i"> <div>{{i}}</div> </td> </tr> <tr v-for="(a,index) in buildinglist[0].unit" :key="index"> <th> <div>{{a.name}}</div> </th> <td :class="k" @click="go_unitonfo(k)" v-for="(k,kindex) in a.data" :key="kindex"> <div>{{k}}</div> </td> </tr> </tbody>