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