Javascript t代码的图像const newWindow=window.open();newWindow.document.write(此处标记)我发布了我所能发布的让url=http://localhost:3000/'; let other=

Javascript t代码的图像const newWindow=window.open();newWindow.document.write(此处标记)我发布了我所能发布的让url=http://localhost:3000/'; let other=,javascript,reactjs,Javascript,Reactjs,t代码的图像const newWindow=window.open();newWindow.document.write(此处标记)我发布了我所能发布的让url=http://localhost:3000/'; let other=window.open(url,“_blank”,特性)因此您的窗口将打开基本URL。。。。它不应该是你代码的路径吗?@epascarello你是说我希望它执行的文件的路径吗?


t代码的图像
const newWindow=window.open();newWindow.document.write(此处标记)我发布了我所能发布的
让url=http://localhost:3000/';             let other=window.open(url,“_blank”,特性)因此您的窗口将打开基本URL。。。。它不应该是你代码的路径吗?@epascarello你是说我希望它执行的文件的路径吗?