vant icon indicating copy to clipboard operation
vant copied to clipboard

1.6.15版本 Dialog组件before-close回调无法触发

Open karchinkong opened this issue 7 years ago • 3 comments

Describe the bug 在1.6.15版本中, dialog组件使用@before-close 回调函数中,使用done(false)无法阻止关闭弹窗,仍然会关闭弹窗,并且没有进入关闭前的回调函数

Screenshots Add screenshots to help explain your problem. image image

Environment

  • Device: window 10
  • Browser: chrome
  • Vant Version: 1.6.15

karchinkong avatar Apr 25 '19 02:04 karchinkong

我也是这个问题

futurehu avatar Jun 06 '19 06:06 futurehu

before-close 是一个属性 动态绑定就可以了

futurehu avatar Jun 06 '19 06:06 futurehu

before-close 是一个属性 动态绑定就可以了

futurehu avatar Jun 06 '19 06:06 futurehu