根据勾选列表是否显示 隐藏主键列

This commit is contained in:
疯狂的狮子li 2020-08-19 17:32:34 +08:00
parent 1cc8bc172b
commit 1b82822d15
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@
#set($comment=$column.columnComment) #set($comment=$column.columnComment)
#end #end
#if($column.pk) #if($column.pk)
<el-table-column label="${comment}" align="center" prop="${javaField}" /> <el-table-column label="${comment}" align="center" prop="${javaField}" v-if="${column.list}"/>
#elseif($column.list && $column.htmlType == "datetime") #elseif($column.list && $column.htmlType == "datetime")
<el-table-column label="${comment}" align="center" prop="${javaField}" width="180"> <el-table-column label="${comment}" align="center" prop="${javaField}" width="180">
<template slot-scope="scope"> <template slot-scope="scope">