dedsudiyu 9 months ago
parent
commit
e4f27dcf74
1 changed files with 10 additions and 1 deletions
  1. 10 1
      pages/views/teacherPage/teacherHome.vue

+ 10 - 1
pages/views/teacherPage/teacherHome.vue

@@ -270,7 +270,16 @@
 									duration: 2000
 									duration: 2000
 								});
 								});
 							}
 							}
-						}, 3000);
+						}, 1500);
+					},
+					fail:function(res){
+						uni.showToast({
+							mask: true,
+							icon: "none",
+							position: "center",
+							title: '二维码识别失败,请重新尝试',
+							duration: 2000
+						});
 					}
 					}
 				});
 				});
 			},
 			},