diff --git a/src/components/ElectronicSeal/index.vue b/src/components/ElectronicSeal/index.vue index 03b4041..caa74d3 100644 --- a/src/components/ElectronicSeal/index.vue +++ b/src/components/ElectronicSeal/index.vue @@ -44,7 +44,7 @@
- + {{ tagInfo.inspectStatus }}
@@ -109,8 +109,8 @@ canvas-id="canvas" style=" position: absolute; - bottom: 15px; - right: 10px; + bottom: 28px; + right: 3px; width: 200px; height: 200px; z-index: 10; @@ -175,7 +175,7 @@
检验结果: - + {{ tagInfo.inspectStatus }}
@@ -201,8 +201,8 @@ canvas-id="canvasTwo" style=" position: absolute; - bottom: 15px; - right: 10px; + bottom: 28px; + right: 3px; width: 200px; height: 200px; z-index: 10; diff --git a/src/pages/devicesSearch/ocrSearch.vue b/src/pages/devicesSearch/ocrSearch.vue index cea56b6..cdec6b4 100644 --- a/src/pages/devicesSearch/ocrSearch.vue +++ b/src/pages/devicesSearch/ocrSearch.vue @@ -141,7 +141,7 @@ >
该工器具已临近下次检验时间,请及时退还至机具(物流)分公司!
- +
@@ -331,6 +331,7 @@ export default { // 打开相机 - 改进版本 async openCamera() { console.log('尝试打开相机...'); + this.codeData = {} if (!this.cameraReady) { // 再次尝试检查插件 this.checkCameraPlugin(); diff --git a/src/pages/devicesSearch/ocrSearch2.vue b/src/pages/devicesSearch/ocrSearch2.vue index 433c408..4a5d3d1 100644 --- a/src/pages/devicesSearch/ocrSearch2.vue +++ b/src/pages/devicesSearch/ocrSearch2.vue @@ -141,7 +141,7 @@ >
该工器具已临近下次检验时间,请及时退还至机具(物流)分公司!
- +
@@ -331,6 +331,7 @@ export default { // 打开相机 - 改进版本 async openCamera() { + this.codeData = {} console.log('尝试打开相机...'); if (!this.cameraReady) { // 再次尝试检查插件 diff --git a/src/pages/devicesSearch/qrSearch.vue b/src/pages/devicesSearch/qrSearch.vue index ddbd317..2862bcc 100644 --- a/src/pages/devicesSearch/qrSearch.vue +++ b/src/pages/devicesSearch/qrSearch.vue @@ -76,7 +76,7 @@
该工器具已临近下次检验时间,请及时退还至机具(物流)分公司!
- +