vue子组件修改父组件的方法
父组件:
:floorPlanShow.sync="floorPlanShow"
子组件:
props: ["floorPlanShow"];
this.$emit("update:floorPlanShow", true);
阻止冒泡和捕获
@click.stop.capture
父组件:
:floorPlanShow.sync="floorPlanShow"
子组件:
props: ["floorPlanShow"];
this.$emit("update:floorPlanShow", true);
阻止冒泡和捕获
@click.stop.capture