Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: modal打开后要更新form的数据,应该怎么做? #5426

Open
5 tasks done
ilaipi opened this issue Jan 17, 2025 · 0 comments
Open
5 tasks done

Bug: modal打开后要更新form的数据,应该怎么做? #5426

ilaipi opened this issue Jan 17, 2025 · 0 comments

Comments

@ilaipi
Copy link

ilaipi commented Jan 17, 2025

Version

Vben Admin V5

Describe the bug?

Image

demo里在onSubmit里没有调用modalApi,如果调用的话也是报这个错

虽然不影响执行,就是看起来难受

貌似只能把form放到子组件里,通过prop把数据传过去,然后再emit('success')事件,在modal组件中再次emit('success')

#4355

Reproduction

/

System Info

/

Relevant log output

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant