Эх сурвалжийг харах

fix:医疗机构认领已达上限提示

yangfeng 3 жил өмнө
parent
commit
e9efaa1c70

+ 5 - 1
src/components/push-list/MedicalList.vue

@@ -155,7 +155,11 @@ export default {
           item.isClaim = true
           this.$forceUpdate()
         } else {
-          this.$toast(msg, 2000)
+          if (code === 1013) {
+            this.$toast('医疗机构认领已达上限')
+          } else {
+            this.$toast(msg, 2000)
+          }
         }
       }
     },