arco-design / arco-design-vue

A Vue.js 3 UI Library based on Arco Design
https://arco.design/vue
MIT License
2.73k stars 536 forks source link

关于Model,Drawer组件通过函数式调用时,如何验证内部表单的问题? #2586

Open weimengdexiaolaohu-8 opened 1 year ago

weimengdexiaolaohu-8 commented 1 year ago

Basic Info

What is expected?

期望通过函数式调用Modal、Drawer组件时可以验证内部的表单项!

flsion commented 1 year ago

@weimengdexiaolaohu-8 可以通过 content 字段传入 JSX 内容

weimengdexiaolaohu-8 commented 1 year ago

传入jsx可以是可以,但同时亦不关闭Modal好像又不太好做了,请指教一下!

------------------ 原始邮件 ------------------ 发件人: "arco-design/arco-design-vue" @.>; 发送时间: 2023年7月28日(星期五) 下午5:53 @.>; @.**@.>; 主题: Re: [arco-design/arco-design-vue] 关于Model,Drawer组件通过函数式调用时,如何验证内部表单的问题? (Issue #2586)

@weimengdexiaolaohu-8 可以通过 content 字段传入 JSX 内容

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

lin-97 commented 1 year ago

可以参考下这个 https://juejin.cn/post/7250356064988725309

weimengdexiaolaohu-8 commented 1 year ago

多谢多谢,例子很全!好人一胎十个!

------------------ 原始邮件 ------------------ 发件人: "arco-design/arco-design-vue" @.>; 发送时间: 2023年8月10日(星期四) 上午9:52 @.>; @.**@.>; 主题: Re: [arco-design/arco-design-vue] 关于Model,Drawer组件通过函数式调用时,如何验证内部表单的问题? (Issue #2586)

可以参考下这个 https://juejin.cn/post/7250356064988725309

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>