摘要: ####问题 项目中直接使用 this.$refs.searchInput.focus() 会报以下错误 Property 'focus' does not exist on type 'Vue | Element | (Vue | Element)[]' ####原因 ts中类型不明确引起的 ## 阅读全文
posted @ 2022-07-25 08:59 huihuihero 阅读(1371) 评论(0) 推荐(0) 编辑