Skip to content

Commit a362928

Browse files
author
xuqingkai
committed
docs: ✏️ 新增关于messageBox弹出多个的常见问题解答
1 parent 93ff5f9 commit a362928

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/guide/common-problems.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ function handleOpened() {
273273

274274
```
275275

276+
## 为何messageBox弹出了多个?
277+
检查一下弹出多个`messageBox`的页面是否存在多个相同`selector`或无`selector``<wd-message-box></wd-message-box>`标签(当前页面包括页面中使用的组件)。`toast`亦是同理,在子组件中使用`messageBox`等组件需要指定`selector`并确保`selector`唯一。
278+
279+
280+
276281
## 如何快速解决你的问题?
277282

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

0 commit comments

Comments
 (0)