ElemeFE / ElemeFE/element

[Bug Report] 当在一个v-for中同时使用v-once,el-tooltip,el-pagination三者时,更新v-for数组报错"TypeError: Cannot read property '_isDestroyed' of undefined"

Open
#18,569 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.0

### OS/Browsers version
win10 / Google Chrome 73.0.3683.103(正式版本) (64 位)

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/pen/vYEeJed

### Steps to reproduce
在示例中点击el-pagination生成的页码

### What is Expected?
控制台报错:[Vue warn]: Error in nextTick: 'TypeError: Cannot read property '_isDestroyed' of undefined'

### What is actually happening?
在一个复杂业务场景中,发现在v-once,el-tooltip,el-pagination三者同时存在时,抛出以上异常。
经反复测试,去除其中任何一项,代码均可正常运行。
已在上述链接复现。
vue issues列表中曾有该报错的记录,但vue官方版本已修复。参考链接:
https://github.com/vuejs/vue/issues/4288

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.