window.location.href.substring(window.location.href.lastIndexOf('/')+1, window.location.href.lastIndexOf('.'));
本文共 160 字,大约阅读时间需要 1 分钟。
window.location.href.substring(window.location.href.lastIndexOf('/')+1, window.location.href.lastIndexOf('.'));
转载于:https://blog.51cto.com/zhaoyingyatou/1766237