load google map n bootstrap modal 时交叉原点
Cross origin when load google map n bootstrap modal
当用户在 bootstrap 模态
中单击打开 google 地图时,我有 link
但是控制台报错
XMLHttpRequest cannot load javascript:void(0). Cross origin requests
are only supported for protocol schemes: http, data, chrome,
chrome-extension, https, chrome-extension-resource.
有什么解决办法吗??
我发现 post 对我帮助很大 Loading Google Map into Bootstrap modal
问题是google地图必须在打开bootstrap模态
后初始化
当用户在 bootstrap 模态
中单击打开 google 地图时,我有 link但是控制台报错
XMLHttpRequest cannot load javascript:void(0). Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
有什么解决办法吗??
我发现 post 对我帮助很大 Loading Google Map into Bootstrap modal
问题是google地图必须在打开bootstrap模态
后初始化