单项选择题

显示模态对话框的API函数是()。

A.wx.showLoading(Object object)
B.wx.showModal(Object object)
C.wx.showToast(Object object)
D.wx.hideToast(Object object)