Browse Source

后端提示

seimin 1 year ago
parent
commit
7c684d1866
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/scanning_drug/scanning_drug.vue

+ 2 - 2
pages/scanning_drug/scanning_drug.vue

@@ -327,7 +327,7 @@
327
           } else {
327
           } else {
328
             uni.showToast({
328
             uni.showToast({
329
               icon: "none",
329
               icon: "none",
330
-              title: "请求失败!",
330
+              title: ress.msg || "请求失败!",
331
             });
331
             });
332
           }
332
           }
333
         });
333
         });
@@ -403,7 +403,7 @@
403
                 } else {
403
                 } else {
404
                   uni.showToast({
404
                   uni.showToast({
405
                     icon: "none",
405
                     icon: "none",
406
-                    title: "请求失败!",
406
+                    title: ress.msg || "请求失败!",
407
                   });
407
                   });
408
                 }
408
                 }
409
               });
409
               });