diff --git a/src/views/produce/workRecords/index.vue b/src/views/produce/workRecords/index.vue index 9810be3..70b5971 100644 --- a/src/views/produce/workRecords/index.vue +++ b/src/views/produce/workRecords/index.vue @@ -498,7 +498,7 @@ function printTemp(row: any) { }; }); if (printerList && printerList.length) { - livePrint = this.$ls.get('livePrint') || printerList.find(item => item.name.indexOf("ZDesigner ZD888") > -1).value; + livePrint = printerList.find(item => item.label.indexOf("ZDesigner ZD888") > -1).value; console.log("livePrint2",livePrint); } }