📅  最后修改于: 2022-03-11 15:02:56.232000             🧑  作者: Mango
// use this
var part = [];
var url = window.location.href;
part = (url.toString()).split('/') // this will give an array then choose your part by calling this array!!
// Hope this will help you!!!