为什么使用window.location一直报错,打不开页面。
但是能使用window.open打开页面,但是window.open的打开是新浏览器页面的模式;
我的网页都形成了帆软目录系统了,使用open()体验不行。
代码:
var url = ‘xxxxxxxxxxxxxxx’
window.location=(FR.cjkEncode(url));
window.open(FR.cjkEncode(url));
https://help.fanruan.com/finereport/doc-view-4229.html 平台内打开
直接
window.location=FR.cjkEncode(url);
如果用open在本页面打开就是
window.open(FR.cjkEncode(url),'_self');
JS实现点击跳转页面和定时跳转页面