客户端打印优化

This commit is contained in:
2022-11-21 13:59:16 +08:00
parent 887dce0a36
commit 4d104bca63
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "JUSTAR", "name": "JUSTAR",
"version": "2.2.1", "version": "2.2.2",
"description": "钜星科技便民问诊系统", "description": "钜星科技便民问诊系统",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {

View File

@ -159,7 +159,7 @@ let main ={
} }
}, },
{ {
label:'版本号:2.2.1', label:'版本号:2.2.2',
icon: respath + path.sep+ "static"+ path.sep+"images"+ path.sep+"paste.png", icon: respath + path.sep+ "static"+ path.sep+"images"+ path.sep+"paste.png",
},] },]
}); });

View File

@ -73,7 +73,7 @@ let print_monitor={
if(err){ if(err){
log.error("获取打印机缓存失败"); log.error("获取打印机缓存失败");
}else { }else {
if(data.length == 0){ if(data.search("{") == -1){
data = { data = {
listPrinter: listPrinter, listPrinter: listPrinter,
pdf_url: pdf_url pdf_url: pdf_url