vue3.0中子组件向父组件传递自定义事件时控制台报出警告
event listeners (change) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.
原创
2022-06-11 16:49:46 ·
744 阅读 ·
0 评论