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的名稱,第二個參數表示向外面傳出去的值