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