vue 使用$refs为什么说children undefined

2025-05-07 12:17:56
推荐回答(1个)
回答(1):

能直接贴代码出来吗
我的用法通常是


然后在methods中使用this.$refs.home操作这个标签的dom相关