소스 검색

去掉Table列的fixed属性
不需要固定的列添加fixed属性会导致table水平滚动异常

Signed-off-by: 初级开发人员 <qinweiw@foxmail.com>

初级开发人员 3 년 전
부모
커밋
f3c6490ab7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Admin.NET/Admin.NET.Web.Entry/wwwroot/Template/index.vue.vm

+ 2 - 2
Admin.NET/Admin.NET.Web.Entry/wwwroot/Template/index.vue.vm

@@ -73,11 +73,11 @@
 				tooltip-effect="light"
 				row-key="id"
 				border="">
-				<el-table-column type="index" label="序号" width="55" align="center" fixed="" />
+				<el-table-column type="index" label="序号" width="55" align="center" />
 				@foreach (var column in Model.TableField){
 				if(@column.WhetherTable == "Y"){
 				if(@column.EffectType == "Upload"||@column.EffectType == "fk"||@column.EffectType == "Switch"||@column.EffectType == "ConstSelector"){
-				@:<el-table-column prop="@column.LowerColumnName" label="@column.ColumnComment" fixed="" show-overflow-tooltip="">
+				@:<el-table-column prop="@column.LowerColumnName" label="@column.ColumnComment" show-overflow-tooltip="">
 					@:<template #default="scope">
 						if(@column.EffectType == "Upload"){
 						@:<el-image