当前位置: 首页 > news >正文

TypeError: Cannot read properties of undefined (reading ‘container‘)

问题环境:

element项目 

el-table的错误 

项目是由 webpack项目迁移为 vite项目  

问题描述:

errorLog.js?t=1692581753160:17 TypeError: Cannot read properties of undefined (reading 'container')
    at unbind (infinite-scroll.js:259:31)
    at callHook (vue.runtime.esm.js:7267:13)
    at _update (vue.runtime.esm.js:7223:17)
    at updateDirectives (vue.runtime.esm.js:7168:9)
    at Array.unbindDirectives (vue.runtime.esm.js:7163:9)
    at invokeDestroyHook (vue.runtime.esm.js:6702:29)
    at removeVnodes (vue.runtime.esm.js:6716:21)
    at updateChildren (vue.runtime.esm.js:6839:13)
    at patchVnode (vue.runtime.esm.js:6909:21)
    at VueComponent.patch2 [as __patch__] (vue.runtime.esm.js:7077:17) 'directive el-table-infinite-scroll unbind hook'

处理方式: 

删除el-table属性

:key="randomTableKey()"

 

http://www.lryc.cn/news/133729.html

相关文章:

  • Vue--BM记事本
  • openpnp - 板子上最小物料封装尺寸的选择
  • 什么是非功能性需求,它们如何影响产品开发?
  • Oracle jdk8 exe->zip
  • Android 命令行如何运行 JAR 文件
  • 5.4 webrtc的线程
  • vscode | linux | c++ intelliense 被弃用解决方案
  • HPE服务器常见报错信息以及解决方案
  • 尚硅谷宋红康MySQL笔记 3-9
  • Leetcode.2337 移动片段得到字符串
  • 【vue】更改角色权限后,实现页面不刷新更改其可展示的导航菜单
  • 【G-LAB】网络工程师常用排错命令详细版
  • Linux 桌面版关闭GUI桌面环境
  • ChatGPT能代替搜索引擎吗?ChatGPT和搜索引擎有什么区别?
  • PHP海外代购管理系统mysql数据库web结构apache计算机软件工程网页wamp
  • 游戏反外挂方案解析
  • 基于郊狼算法优化的BP神经网络(预测应用) - 附代码
  • 【腾讯云 TDSQL-C Serverless 产品测评】全面测评TDSQL-C Mysql Serverless
  • Qt应用开发(基础篇)——纯文本编辑窗口 QPlainTextEdit
  • 数据结构-->栈
  • 强训第36天
  • PyTorch bug记录
  • js中的正则表达式(一)
  • 免费开源使用的几款红黑网络流量工具,自动化的多功能网络侦查工具、超级关键词URL采集工具、Burpsuite被动扫描流量转发插件
  • 使用Mybatis Plus进行DAO层开发
  • Android中如何不编译源生模块
  • 安装Vue_dev_tools
  • 【数据结构入门指南】二叉树顺序结构: 堆及实现(全程配图,非常经典)
  • css实现三角形的几种方法
  • ❤ Vue工作常用的一些动态数据和方法处理