配置o2oa连接o2oa云后,无法登陆问题反馈
按:https://www.yuque.com/o2oa/course/bfseq4 配置连接O2云使用APP。配置后
1、连接O2OA云是正常。但是出现【移动办公配置】配置数据不能保存,
2、重启后应用无法登陆,登陆主页报错。见第二张截图。
http://www.o2oa.net:20020/x_file_assemble_control/jaxrs/file/51bf05d2-fbf2-495e-b8ac-482a1dd5b2d1/download/stream
http://www.o2oa.net:20020/x_file_assemble_control/jaxrs/file/9f46d72e-62e3-49ff-94c2-f6be68f18062/download/stream
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. 谢谢,看你了你的帖子,配置可以连接app了。非常感谢! 如果新版本4.3.5配置O2oa云,登录主页无法登录。可以试一下这种临时修改方案
修改o2server/servers/webServer/o2_lib/mootoolsmootools-1.6.0_all.js第6422行,新增一个临时修复逻辑
var isWithCredentialsSync = isWithCredentials && !this.options.async;
//-----------------临时修复url拼接异常问题
//如果url包含-http 但是没有域名则去除http头部,星号修改为公司自己的域名或者IP
if(url.indexOf("http://")>=0 || url.indexOf("https://")>=0){
if(url.indexOf("oa.**cn")<0){
//url=url.replace("http://","");
url=url.replace("https://","https://oa.**.cn");
}
}
xhr.open(method.toUpperCase(), url, this.options.async, this.options.user, this.options.password); 你可以参考我的帖子,我也遇到类似问题,在配置文件里设置好,就不会出问题了
http://www.o2oa.net/x_desktop/forum.html?app=ForumDocument&id=39520300-3f36-4a3e-a5ae-d3bc993684d9 代码研究的很深哦!
不过,其他http://www.o2oa.net/x_desktop/forum.html?app=ForumDocument&id=20e6c739-8fc8-46fb-98b3-d6af1a6db1e3
只需要正确配置即可。
页:
[1]