未搭配服务器,跨域请求,需要 选择谷歌浏览器,点击属性,在快捷方式选项卡,中目标的输入框添加后缀: --allow-file-access-from-files
先运行谷歌浏览器,然后将当前的index拖入浏览器中即可。
编号保存需要,将下载的文件copy到当前data文件中,覆盖index.json即可 其他需求待扩展。
搭配服务器,可以局域网打印,但需要访问地址为:http://ip:8080/print/index.html, ps:编号保存需要,下载以后copy到服务器主机中的webapps/print/data