我在如下使用FrameWork7
页面的简单<a>
:Framework7 <a href="">不工作
<li><a href="https://www.google.com/"><img src="images/icons/black/users.png" alt="" title="" /><span>Go Google/span></a></li>
但是当我点击它不重定向到Google网页。我已检查控制台,它显示如下:
XMLHttpRequest cannot load https://www.google.com/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.
framework7.js:12307 XHR failed loading: GET "https://www.google.com/".$.ajax @ framework7.js:12307app.get @ framework7.js:1652app.router.load @ framework7.js:2648load @ framework7.js:636handleClicks @ framework7.js:7573handleLiveEvent @ framework7.js:11488
我是Framework7
的新手。我已经购买了开发模板。
感谢buddy它的工作 – Santhucool