vue中子组件使用$emit传值的种种情况1、 子组件不传递参数,父组件也不接受参数// 子组件 this.$emit('test')// 父组件 @test='test' test() { }2、 子组件传递一个参...
全文
回复(1) 2022-07-22 14:41 来自版块 - Vue / React / Angular


返回顶部