$emit在子组件传参外自己传参的方法

之前忘记怎么写了,记一下,可以查看

<tag-modal ref="policyTag" :type="1" @submit="handleTagSubmit($event,'policyTag')"></tag-modal>
 this.$emit('submit', this.checkList);

猜你喜欢

转载自blog.csdn.net/weixin_39308542/article/details/111614876