微信小程序wx.showLoading

it2026-01-26  12

效果图:

代码:

wx.showLoading({ title: '加载中...', }) wx.request({ url: '', success(res){}, fail(){}, complete(){ wx.hideLoading() } })

 

小程序官方api   https://developers.weixin.qq.com/miniprogram/dev/api/wx.showLoading.html

转载于:https://www.cnblogs.com/520BigBear/p/10394526.html

最新回复(0)