diff --git a/services/service-plugin-amis/main/default/client/amis.render.client.js b/services/service-plugin-amis/main/default/client/amis.render.client.js index ecb4608af3..83d6b2c45b 100644 --- a/services/service-plugin-amis/main/default/client/amis.render.client.js +++ b/services/service-plugin-amis/main/default/client/amis.render.client.js @@ -275,6 +275,10 @@ theme: 'antd', isCurrentUrl: isCurrentUrl, requestAdaptor: (config)=>{ + if(config.allowCredentials == false){ + config.withCredentials = false; + delete config.allowCredentials + } // url是相对路径 if(config.url && (!/^http[s]?:\/\//i.test(config.url))){ if(Meteor.isCordova){