📝(component): update

This commit is contained in:
就眠儀式
2022-07-31 00:55:52 +08:00
parent 43e626cfe6
commit 7d1927248a
3 changed files with 19 additions and 15 deletions

View File

@@ -564,8 +564,8 @@
display: inline-block;
}
.layui-table-view .layui-form-checkbox,
.layui-table-view .layui-form-radio,
.layui-table-view .layui-form-checkbox,
.layui-table-view .layui-form-switch {
top: 0;
margin: 0;
@@ -579,11 +579,6 @@
text-align: center;
}
.layui-table,
.layui-table-view {
margin: 10px 0;
}
.layui-table-cell-expand {
border-bottom: 1px solid #eee;
}
word-break: break-all;
}

View File

@@ -280,7 +280,10 @@ const getFixedColumn = () => {
hasr.value = true;
} else {
// @ts-ignore
if (tableBody.value?.scrollLeft + tableBody.value?.offsetWidth + 2 > tableBody.value?.scrollWidth) {
if (
tableBody.value?.scrollLeft + tableBody.value?.offsetWidth + 2 >
tableBody.value?.scrollWidth
) {
hasl.value = true;
hasr.value = false;
} else {