1.父组件代码,在父页面中有一个公共方法 handleRules(),同时父页面引用了子组件页面
<component :is="context.columnTab" :context="context" :model="model" :config="config"
:rules="rules" @handleRules="handleRules">
</component>
2.子组件页面调用父组件这个方法
this.$emit('handleRules', param1,param2)