修复展开行显示问题
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vxe-table",
|
||||
"version": "4.3.12",
|
||||
"version": "4.3.13-beta.0",
|
||||
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器等...",
|
||||
"scripts": {
|
||||
"update": "npm install --legacy-peer-deps",
|
||||
|
||||
@@ -108,7 +108,8 @@ export default defineComponent({
|
||||
const columnOpts = computeColumnOpts.value
|
||||
// 如果是使用优化模式
|
||||
if (fixedType) {
|
||||
if (scrollXLoad || allColumnFooterOverflow) {
|
||||
// 如果存在展开行使用全量渲染
|
||||
if (!tableReactData.expandColumn && (scrollXLoad || allColumnFooterOverflow)) {
|
||||
if (!mergeFooterList.length || !footerSpanMethod) {
|
||||
tableColumn = fixedColumn
|
||||
} else {
|
||||
|
||||
@@ -733,7 +733,8 @@ export default defineComponent({
|
||||
// const isMergeRightFixedExceeded = computeIsMergeRightFixedExceeded.value
|
||||
// 如果是使用优化模式
|
||||
if (fixedType) {
|
||||
if (scrollYLoad || (allColumnOverflow ? isAllOverflow : allColumnOverflow)) {
|
||||
// 如果存在展开行使用全量渲染
|
||||
if (!tableReactData.expandColumn && (scrollYLoad || (allColumnOverflow ? isAllOverflow : allColumnOverflow))) {
|
||||
if (!mergeList.length && !spanMethod && !(keyboardConfig && keyboardOpts.isMerge)) {
|
||||
tableColumn = fixedColumn
|
||||
} else {
|
||||
|
||||
@@ -1468,7 +1468,8 @@ export default defineComponent({
|
||||
|
||||
// 如果是使用优化模式
|
||||
if (fixedType) {
|
||||
if (scrollYLoad || (allColumnOverflow ? isAllOverflow : allColumnOverflow)) {
|
||||
// 如果存在展开行使用全量渲染
|
||||
if (!reactData.expandColumn && (scrollYLoad || (allColumnOverflow ? isAllOverflow : allColumnOverflow))) {
|
||||
if (!mergeList.length && !spanMethod && !(keyboardConfig && keyboardOpts.isMerge)) {
|
||||
renderColumnList = fixedColumn
|
||||
} else {
|
||||
@@ -1494,7 +1495,8 @@ export default defineComponent({
|
||||
let renderColumnList = tableColumn
|
||||
// 如果是使用优化模式
|
||||
if (fixedType) {
|
||||
if (scrollXLoad || allColumnFooterOverflow) {
|
||||
// 如果存在展开行使用全量渲染
|
||||
if (!reactData.expandColumn && (scrollXLoad || allColumnFooterOverflow)) {
|
||||
if (!mergeFooterList.length || !footerSpanMethod) {
|
||||
renderColumnList = fixedColumn
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user