guoyujia 1 year ago
parent
commit
270f7bc23e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pages/outsourcedInspection/scan.vue
  2. 1 1
      pages/processInspection/scan.vue

+ 1 - 1
pages/outsourcedInspection/scan.vue

@@ -110,7 +110,7 @@
 				}).catch(err => {
 					uni.showToast({
 						icon: 'none',
-						title: error.msg,
+						title: err.message,
 						duration: 2000
 					})
 				})

+ 1 - 1
pages/processInspection/scan.vue

@@ -117,7 +117,7 @@
 							}).catch(err => {
 								uni.showToast({
 									icon: 'none',
-									title: error.msg,
+									title: err.message,
 									duration: 2000
 								})
 				})