فهرست منبع

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

zhouna 6 سال پیش
والد
کامیت
72753a5730
1فایلهای تغییر یافته به همراه9 افزوده شده و 1 حذف شده
  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: {