Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] [Component] [table, table-column] Cannot read properties of null (reading 'insertBefore') #6640

Closed
zhoufanglu opened this issue Mar 15, 2022 · 3 comments
Labels
need reproduction Need more information, we cannot reproduce your problem

Comments

@zhoufanglu
Copy link

zhoufanglu commented Mar 15, 2022

Bug Type: Component

Environment

  • Vue Version: 3.2.25
  • Element Plus Version: 2.0.5
  • Browser / OS: chrome
  • Build Tool: Vite

Reproduction

Related Component

  • el-table
  • el-table-column

Steps to reproduce

<el-table
          v-if="!!deps"
          :header-cell-style="{background:'#f0f4fb',color:'#606266'}"
          v-loading="tableLoading"
          :data="deps"
          ref="depTableRef"
          row-key="id"
          style="width: 100%"
          @filter-change="columnFilterChange"
          class="common-table">

What is actually happening?

It only exists in a test environment
The development environment cannot be reproduced

出错Cannot read properties of null (reading 'insertBefore')
image

Additional comments

(empty)

@zhoufanglu
Copy link
Author

这个问题很严重。。我发现所有的表格都有这个问题, 我所有表格都响应了一个公共参数
页面切换后, 从有数据切换到无数据, 就会报这个错误

@msidolphin msidolphin added the need reproduction Need more information, we cannot reproduce your problem label Mar 15, 2022
@github-actions
Copy link

Hello @zhoufanglu. Please provide an online reproduction demo by clicking this link or a minimal GitHub repository. Issues marked with need reproduction will be closed if they have no activity within 3 days.

你好 @zhoufanglu, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。可以通过点击 此处 创建或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need reproduction Need more information, we cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

2 participants