useTemplateRef,绑定名字和组件名字重复,并且子组件抛出的是代理对象 的时候出现错误 #12065
Unanswered
chenjieya
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
???? 当使用useTemplateRef去绑定组件的时候,名字和组件名字一样(byElInput)的时候,会报错, 在子组件中has判断的时候会出现null,使用其他的名字则没有问题
https://stackblitz.com/edit/vitejs-vite-tjpdvz?file=src%2FApp.vue
Beta Was this translation helpful? Give feedback.
All reactions