相关考题
-
单项选择题
使用vue create 创建项目,选择默认配置,选项中不包括()
A.Babel
B.Router
C.Vue3
D.ESLint -
单项选择题
在Vue组件中,子组件用()来触发事件,父组件用()来监听子组件事。
A.$emit;$on
B.emit;on
C.$emit;on
D.emit;$on -
单项选择题
在Vue中,数据传递主要通过props属性和()方法来实现。
A.$emit
B.$attrs
C.$refs
D.$options
