js获取文件所在的文件夹路径 2021年1月27日 0条评论 361次阅读 0人点赞 慕容 const path = document.querySelector('#folder').value; const dirPath = path.substring(0,path.lastIndexOf("/") + 1); < 上一篇 下一篇 > 发表回复电子邮件地址不会被公开。必填项已用 * 标注* * *