dedsudiyu 1 månad sedan
förälder
incheckning
38ad635008
2 ändrade filer med 12 tillägg och 6 borttagningar
  1. 6 3
      pages/views/pupilPage/pupilHome.vue
  2. 6 3
      pages/views/teacherPage/teacherHome.vue

+ 6 - 3
pages/views/pupilPage/pupilHome.vue

@@ -181,9 +181,12 @@
 								self.laboratorySubPassOutIsotopeSubSign(codeData.subId,res.result);
 							}
 						}else{
-							//化学品信息
-							uni.navigateTo({
-								url: "/pages_basics/views/chemicalsInfo/chemicalsInfo",
+							uni.showToast({
+								mask: true,
+								icon: "none",
+								position: "center",
+								title: '请扫描正确的二维码',
+								duration: 2000
 							});
 						}
 					}

+ 6 - 3
pages/views/teacherPage/teacherHome.vue

@@ -261,9 +261,12 @@
 								self.laboratorySubPassOutIsotopeSubSign(codeData.subId,res.result);
 							}
 						}else{
-							//化学品信息
-							uni.navigateTo({
-								url: "/pages_basics/views/chemicalsInfo/chemicalsInfo",
+							uni.showToast({
+								mask: true,
+								icon: "none",
+								position: "center",
+								title: '请扫描正确的二维码',
+								duration: 2000
 							});
 						}
 					}