最佳答案
为什么我..。
未捕获的 TypeError: string.split 不是一个函数
... 当我跑的时候..。
var string = document.location;
var split = string.split('/');