子组件向父组件传值实现子组件控制父组件dialog的显示 子组件:child.vue <template> <div @click="add"></div> </template> methods: { add() { //触发showDialog,所传的值为false