opentiny / tiny-vue

TinyVue is an enterprise-class UI component library of OpenTiny community, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
https://opentiny.design/tiny-vue
MIT License
1.71k stars 267 forks source link

🐛 [Bug]: tiny-drawer组件里的@confirm="confirm"增加了表单校验规则,希望通过校验时才关闭抽屉,可是目前@confirm="confirm"无法重写关闭抽屉的事件 #1237

Open thestar077 opened 11 months ago

thestar077 commented 11 months ago

Version

3.10.0

Vue Version

3.2.47

Link to minimal reproduction

Step to reproduce

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

Issues-translate-bot commented 11 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: @confirm="confirm" in the tiny-drawer component adds form verification rules. It is hoped that the drawer will be closed only after passing the verification. However, currently @confirm="confirm" cannot be repeated. Write event to close drawer