in the official documentation:
.sync will not work properly if the variable bound by the visible attribute is in the store of Vuex. At this point, you need to remove the .sync modifier, and listens to both the open and close events of Dialog, and executes the corresponding mutation in Vuex to update the value of the variable bound to the visible attribute in the event callback.
how do I understand the bold part above? I can directly control the display and hiding of dialog by changing the value of the variable bound to the visible attribute in store. I don"t need to listen to the open and close events of Dialog. Or do I get it wrong? How do you monitor it?
is there a great god who can explain it?