1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > window.location.href= window.location.href=@Url.Action( )不能跳转页面问题

window.location.href= window.location.href=@Url.Action( )不能跳转页面问题

时间:2019-05-06 01:46:00

相关推荐

window.location.href= window.location.href=@Url.Action( )不能跳转页面问题

有几种可能:

1.代码有写错误

※仔细检查花不了太多的时间就能找出来,切记不要心急心慌

2.js冲突:

在我的项目中用了sweetalert 的js插件,感觉该可以;

<script src="~/scripts/sweetalert-master/dist/sweetalert.min.js"></script>

<link href="~/scripts/sweetalert-master/dist/sweetalert.css" rel="stylesheet" />

如果有引用了上面的插件,最好是删掉。如果不删掉想要跳转页面是不行的(包括服务端和客户端跳转);

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。