vue3-composition-admin icon indicating copy to clipboard operation
vue3-composition-admin copied to clipboard

开发环境下,跳转页面,会触发大量Vue.warn

Open atom-7 opened this issue 3 years ago • 2 comments

image 删除了tags_view组件代码后就没有事,大量的触发以至于会有卡顿, 警告如下:Avoid app logic that relies on enumerating keys on a component instance

atom-7 avatar Apr 17 '21 05:04 atom-7

image 删除了tags_view组件代码后就没有事,大量的触发以至于会有卡顿, 警告如下:Avoid app logic that relies on enumerating keys on a component instance

应该是layout组件下的showTagsView计算函数导致的,可以去测试一下

zhuanghongbin avatar Apr 26 '21 12:04 zhuanghongbin

问题似乎出在:tags_view 组件中的 addTags()。

gorgeousluo avatar Jul 13 '21 08:07 gorgeousluo