Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/perTreat' into test

zhouna 6 gadi atpakaļ
vecāks
revīzija
72753a5730
1 mainītis faili ar 9 papildinājumiem un 1 dzēšanām
  1. 9 1
      src/components/icss/MedicineInfoPg.vue

+ 9 - 1
src/components/icss/MedicineInfoPg.vue

@@ -63,7 +63,15 @@
               },
               action: config.urls.promptServer,
               response: (res) => {
-                return config.imgHost+res.url;
+                if(res.code=='0'){
+                  return config.imgHost+res.data.url;
+                }else{
+                  this.$message({
+                    showClose: true,
+                    message: res.msg,
+                    type: 'warning'
+                  })
+                }
               }
             },
             toolbar: {