https://cn.vuejs.org/v2/guide/components-custom-events.html#sync-%E4%BF%AE%E9%A5%B0%E7%AC%A6
子组件中用props接收外部传来的值 此处是isShow
然后在父组件中引入并使用.sync,这样既可被外部也可以被内部修改
然后子组件中向外触发事件 this.$emit("update:isShow", false);
update后面的就是接收的props的名称,第二个参数表示向外面传出去的值