uni-app H5端 中的uni.request 在手机端的百度浏览器 报错 有些接口报 request: fail

uni-app H5端 中的uni.request 在手机端的百度浏览器 报错 有些接口报 request: fail

问题相关代码
    request(url, method = 'GET', data = {}, success, fail) {
        return new Promise((resolve, reject) => {
            if (isShowLoad) {
                uni.showLoading({
                    title: "加载中...",
                    mask: true
                })
            }
            uni.request({
                method: method,
                url: url,
                data: data,
                header:{'Content-Type':'application/x-www-form-urlencoded'},
                dataType:"json",
                success: (res) => {
                    if(this.checkResponse(res,url)){
                        success(res.data);
                    }else{
                        fail(res);
                    }
                    
                },
                fail: (err) => {
                    uni.showModal({
                        title: '提示',
                        content: JSON.stringify(err),
                        showCancel: false,
                    });
                    fail(err);
                },
                complete: () => { 
                    try {
                        setTimeout(()=>{uni.hideLoading();},300)
                        
                    } catch (e) {
                        //TODO handle the exception
                    }

                }
            })
        })
    }

调用获取轮播图接口的时候 报错
request: fail
但是在其他浏览器没有这个问题,百度浏览器上有时可以有时又不行

我想要达到的结果

能够正常调用请求

改成false试试

img