Group attachments call values from subcomponents with the sync modifier
<modal title="" :visible.sync="visible"></modal>
the value of the parent component can be repaired in this way in the child component
this.$emit("update:visible", false);
or you don"t need a modifier, you can modify
in this way.this.$parent.visible = false;
neither of them reported an error. I read the dialog source code of elem and used the former. I want to know the difference between the two.