Error: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop’s value. Prop being mutated: “dialogVisible”
Solution:
:visible.sync="dialogVisible"
Replace with:
:visible="dialogVisible"