0

在可能的应用程序中,我使用 ajax url 作为示例:

 url: '/Home/wlMulti',

我在 Google Chrome 中收到此错误:

uncaught typeerror property 'location' of object object global is not a function

任何的想法!!我使用 ~/Home/.. 非常感谢您的帮助。

4

1 回答 1

0

问题出在

window.location("/Home/...");

将其更改为

window.location.href = "/Home/....";
于 2013-06-24T03:15:57.097 回答