element的el-table表格自定义表头,<template #header> slot=“header“内,表格在触发事件,this的数据更改后会重置成原来的数据问题
element的el-table表格自定义表头,<template #header> slot="header"内,表格在触发事件,this的数据更改后会重置成原来的数据问题<template header><div @clikc="checkTab('all')" >全部</div><div @clikc="checkTab('hot')" >热门</div></template>这里的checkTab方法做
原创
2020-10-19 14:25:05 ·
5017 阅读 ·
0 评论