vue前端面试笔试题
时间: 2023-08-26 07:17:58 浏览: 237
回答: 在Vue前端面试中,可能会涉及到以下几个问题:
1. 如何在父组件中调用子组件的方法?
可以使用`this.$refs.childMethod.test()`来在父组件中调用子组件的方法。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [前端vue经典面试题78道(重点详细简洁)](https://blog.csdn.net/weixin_43203982/article/details/126465500)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [2021Vue前端面试题总结(含答案)](https://blog.csdn.net/a754334599/article/details/117304763)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文