未验证 提交 9c674f44 编写于 作者: 折腾笔记 提交者: GitHub

Update prompt.md

上级 3b80bf84
......@@ -93,13 +93,13 @@ setTimeout(function () {
uni.hideLoading();
}, 2000);
```
**注意**
- `showToast``showLoading` 是底层同一个(按的小程序的设计),所以 `showToast``showLoading` 会相互覆盖,而 `hideLoading` 也会关闭 `showToast`
- 冲突解决方案:
+ App:使用 `plus` 接口或者 `uni.showToast` 配置 `position` 参数
+ 非App:其中一个使用自定义组件实现。
**注意**
- `showToast``showLoading` 是底层同一个(按的小程序的设计),所以 `showToast``showLoading` 会相互覆盖,而 `hideLoading` 也会关闭 `showToast`
- 冲突解决方案:
+ App:使用 [plus.nativeUI.toast](http://www.html5plus.org/doc/zh_cn/nativeui.html#plus.nativeUI.toast) 接口
+ 非App:其中一个使用自定义组件实现。
### uni.showModal(OBJECT)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册