guoyujia há 1 ano atrás
pai
commit
270f7bc23e
2 ficheiros alterados com 2 adições e 2 exclusões
  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
 								})
 				})