<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<script>
function downLoad(){
window.open("http://ip/apkVersion/Setup.exe");
}
</script>

<a href="#" onClick="downLoad()">点击下载</a>
</body>
</html>

注:但是这种方式存在跨域问题,网页和包需要在同一个服务器上

相关文章:

  • 2021-06-10
  • 2022-02-10
  • 2022-12-23
  • 2021-12-24
  • 2021-10-22
  • 2022-12-23
  • 2021-12-11
  • 2021-04-25
猜你喜欢
  • 2021-12-12
  • 2022-12-23
  • 2022-02-10
  • 2021-11-12
  • 2022-12-23
  • 2021-06-27
相关资源
相似解决方案