请问这种目录结构,前面不加域名如何跳转
||-- root | |-- ind | |-- about.html | |-- index.html //index代码跳转 var url = './ind/about.html'; window.location.href = url;
使用a标签跳转
755k questions
754k answers
5 comments
53.3k users