相关考题
-
单项选择题
Vue的哪个生命周期钩子在组件销毁之前被调用?()
A.beforeCreate
B.created
C.beforeDestroy
D.destroyed -
单项选择题
在Vue中,哪个选项用于在DOM元素上绑定事件?()
A.v-bind
B.v-on
C.v-model
D.v-html -
单项选择题
在Vue组件中,哪个选项用于接收来自父组件的数据?()
A.data
B.props
C.computed
D.methods
