Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0301· OpenAIAi2 WildChat-4.8M (AI2)

console.log( this.$refs.intro01) 为什么是undefined

  1. User

    console.log( this.$refs.intro_0_1) 为什么是undefined

  2. Assistant

    这可能是因为该组件没有名为“intro_0_1”的ref。请确保该组件中使用的ref名称与此处使用的名称匹配。如果正确,请检查是否正确引用了该组件和是否正确渲染了该组件。