摘要: 一、原理 1、主域相同,子域不同,可以设置document.domain来解决跨域。 2、在http://www.example.com/a.html和http://sub.example.com/b.html两个文件中都加上document.domain = "example.com"; 3、通过 阅读全文
posted @ 2019-03-28 12:04 Hello_nico 阅读(2388) 评论(0) 推荐(0)