//1 父组件 <editcomponent ref="edit" @toList="list(1)" ></editcomponent> 自定义事件, 事件名为toList //2 子组件 self.$emit('toList');//向父组件emit toList事件