赞
踩
export default {
name: "saveOrUpdateDilog.vue",
data(){
},
methods: {
submitFunction(){
this.$emit("fatherFun")
}
}
}
<!-- 组件声明 -->
<saveOrUpdateDilog
:isShow = "isShow"
@onSend = "receiveHandle"
@fatherFun = "initTable">
</saveOrUpdateDilog>
import saveOrUpdateDilog from "./saveOrUpdateDilog";
export default {
name: "index.vue",
data() {
},
methods: {
initTable() {
console.log("父级组件initTable方法");
}
}
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。