Skip to content

Commit

Permalink
docs: ✏️ 新增关于messageBox弹出多个的常见问题解答
Browse files Browse the repository at this point in the history
  • Loading branch information
xuqingkai committed Jul 12, 2024
1 parent 93ff5f9 commit a362928
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/guide/common-problems.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@ function handleOpened() {

```

## 为何messageBox弹出了多个?
检查一下弹出多个`messageBox`的页面是否存在多个相同`selector`或无`selector``<wd-message-box></wd-message-box>`标签(当前页面包括页面中使用的组件)。`toast`亦是同理,在子组件中使用`messageBox`等组件需要指定`selector`并确保`selector`唯一。



## 如何快速解决你的问题?

[提问的智慧](https://lug.ustc.edu.cn/wiki/doc/smart-questions/),可以帮助你快速提出正确的问题,获得更快的解答。
Expand Down

0 comments on commit a362928

Please sign in to comment.