https://blog.csdn.net/cgtcsdn/article/details/53520547
https://blog.csdn.net/lan120576664/article/details/53761255(靠谱)
生成可在线更新APP步骤:
1.生成APP步骤中,配置服务器地址和web路径,比如
Web服务器地址 http://192.168.1.16:8080
Web路径 /test2
2.UI资料不要打包
3.生成APP后,将www文件夹下4个文件拷贝到服务器地址下,服务器地址
D:\WeX5_V3.6\apache-tomcat\webapps\test2
4.在服务器地址下配置页面跳转,打开文件
D:\WeX5_V3.6\apache-tomcat\webapps\test2\v-za6VNn-zh_CN-\test2\test2.w
5.在 <script id="__updateVersion"> 下增加一行,写入
document.location.href='/x5/UI2/test2/test2.w?device=m';
---------------------
作者:侠之大者为国为民
来源:CSDN
原文:https://blog.csdn.net/sofeien/article/details/53537375
版权声明:本文为博主原创文章,转载请附上博文链接!