0
点赞
收藏
分享

微信扫一扫

Spring MVC简介及核心组件和调用流程理解

早安地球 03-18 21:00 阅读 2

一、根据tabIndex变量值,显示不同的表头header

二、代码

<el-table-column min-width="220" show-overflow-tooltip>
		<template slot="header" slot-scope="scope">
				{{tabIndex==1?'表头栏目1':'表头栏目222'}}
		</template>
		<template slot-scope="scope">
				{{scope.row.content}}
		</template>
</el-table-column>
举报

相关推荐

0 条评论