微信小程序正在加载中

var hasClike = false;

=============

 if(hasClike){
            return;
        }
        hasClike=true;
        wx.showLoading({
            title: '正在加载中',
        });

==============

...

complete:function(res){

hasClike=false;

wx.hideLoading();

}

猜你喜欢

转载自www.cnblogs.com/gzhbk/p/12792285.html