一. 使用window.location.href+url的方式 这种方式可以获取到要下载的文件,但是当下载的文件不存在,或者下载过程中后台报错的话会发生跳转二. 使用$http实现异步无刷新的下载文件(1) $http({ method : "post", url : Constant.prefi Read More
posted @ 2020-06-18 09:48 ck_2016 Views(2082) Comments(0) Diggs(0)