htc 5 days ago
parent
commit
180b897134
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/scan.vue

+ 2 - 2
pages/scan.vue

@@ -12,8 +12,8 @@
 				
 			}
 		},
-		onLoad(option) {
-			if(option.q){
+		onLoad(options) {
+			if(options.q){
 				try{
 					console.log("扫码进入参数:", options.q);
 					const decodedUrl = decodeURIComponent(qrString);