.sync

父组件  :flag.sync = "isShow"

子组件: this.$emit('update:flag', true)

原文地址:https://www.cnblogs.com/MJmajong/p/13206979.html