(component): 发布 1.3.2

This commit is contained in:
就眠儀式 2022-07-21 13:01:40 +08:00
parent c94519bd2f
commit 313796d0be

View File

@ -392,8 +392,17 @@ const renderTotalRowCell = (column: any) => {
<div class="layui-table-box"> <div class="layui-table-box">
<!-- 表头 --> <!-- 表头 -->
<div class="layui-table-header" :style="[{ 'padding-right':`${scrollWidthCell}px`}]"> <div
<div class="layui-table-header-wrapper" ref="tableHeader" :style="[scrollWidthCell > 0 ? 'border-right: 1px solid #eee;' : '']"> class="layui-table-header"
:style="[{ 'padding-right': `${scrollWidthCell}px` }]"
>
<div
class="layui-table-header-wrapper"
ref="tableHeader"
:style="[
scrollWidthCell > 0 ? 'border-right: 1px solid #eee;' : '',
]"
>
<table class="layui-table" :lay-size="size" :lay-skin="skin"> <table class="layui-table" :lay-size="size" :lay-skin="skin">
<colgroup> <colgroup>
<template v-for="column in columns" :key="column"> <template v-for="column in columns" :key="column">
@ -423,7 +432,9 @@ const renderTotalRowCell = (column: any) => {
? 'layui-table-cell-checkbox' ? 'layui-table-cell-checkbox'
: '', : '',
column.type == 'radio' ? 'layui-table-cell-radio' : '', column.type == 'radio' ? 'layui-table-cell-radio' : '',
column.type == 'number' ? 'layui-table-cell-number' : '', column.type == 'number'
? 'layui-table-cell-number'
: '',
]" ]"
:style="[ :style="[
{ {