You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@Positive-click="onConfirm" 默认行为是关闭确认框。返回 false 或者 resolve false 或者 Promise 被 reject 会避免默认行为。 当使用版本 vue3.2时一切正常
父组件使用一切正常
但升级到vue3.3.2后
必须这样写,不然开发环境正常,生产环境就失效了,弹框不会被阻止默认行为
请问是否是编译原因?
Beta Was this translation helpful? Give feedback.
All reactions