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