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 Report] Dialog组件问题 #10998

Closed
wuanrin opened this issue Sep 1, 2022 · 3 comments
Closed

[Bug Report] Dialog组件问题 #10998

wuanrin opened this issue Sep 1, 2022 · 3 comments

Comments

@wuanrin
Copy link

wuanrin commented Sep 1, 2022

重现链接

https://codesandbox.io/s/fast-shape-wy77s9?file=/src/components/DialogDemo.vue

Vant 版本

3.6.1

描述一下你遇到的问题。

  1. Slot内容没有显示
<Dialog v-model:show="dialogVisible" title="弹窗"> 我是一个弹窗 </Dialog>

实际显示:
image

  1. v-model:show属性设置的是false,弹窗却显示了
  2. 设置v-model:showtrue时报错
    image

重现步骤

  1. 刷新页面
  2. 点击按钮设置v-model:show为true

设备/浏览器

Chrome

@wjw-gavin
Copy link
Collaborator

image

@wjw-gavin
Copy link
Collaborator

解答在这里:
#10858 (comment)

@wuanrin
Copy link
Author

wuanrin commented Sep 1, 2022

解答在这里: #10858 (comment)

感谢,问题解决

@wuanrin wuanrin closed this as completed Sep 1, 2022
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

2 participants