react 调用项目中的 .html 文件

(1)将 html 文件 放于 public 文件夹下

(2)window.open('about:blank').location.href="http://localhost:3000/test.html?oid=123";

posted @ 2018-11-14 23:30  每天都要进步一点点  阅读(3679)  评论(0编辑  收藏  举报