[Bug Report] [Component] [tabs] [Vue warn]: Maximum recursive updates exceeded in component <ElTabs>.
Bug Type: Component
Environment
- Vue Version:
3.2.31 - Element Plus Version:
2.1.5 - Browser / OS:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36 - Build Tool:
Vite
Reproduction
Related Component
el-tabs
Steps to reproduce
<el-tabs v-show="tabs.length > 0" v-model="activeTabNo" type="card" closable @tab-remove="handleTabRemove">
What is Expected?
no error, no warning
What is actually happening?
console prompt warning: [Vue warn]: Maximum recursive updates exceeded. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.
use label slot will trigger the same warning
use label slot will trigger the same warning
I also have this problem
我也有相同问题,去掉#label后正常
same problem
me too. 俺也一样
遇到同样问题
Same here. If i add
<template #label>
i am getting the same error
</template>
Should be fixed by #6871
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。