ngp*_*und 2 javascript
if (typeof (location.x != null) {
使用上面我遇到了以下错误: Uncaught TypeError: Cannot read property 'x' of null
Uncaught TypeError: Cannot read property 'x' of null
我试过console.log(location.x)用一个例子得到的结果null
console.log(location.x)
null
Fab*_*bio 7
if (location && location.x) { }
归档时间:
11 年,2 月 前
查看次数:
779 次
最近记录: