如代码所示,在子组件中定义和触发了select方法并将type参数传入,在父组件中引入子组件,并监听select事件
结果报错:“Property or method "type" is not defined on the instance but referenced during render.” 是我传递参数的方法不对吗?
//子组件
//父组件
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
v-on:select="updSelect"