Browse Source

治疗方案没内容时提示(2708)

zhangxc 5 năm trước cách đây
mục cha
commit
779d29ccb8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/store/async-actions/treat.js

+ 1 - 1
src/store/async-actions/treat.js

@@ -156,7 +156,7 @@ function getTreatment(item, dispatch, state,url,params, isChronic) {
                     ( treatmentPlan &&treatmentPlan.length >0 ||
                         drugHistory&&drugHistory.length >0 || 
                         adverseEvent&&adverseEvent.length >0 ||
-                        !!followUp ||treatment&&treatment.length >0))) {
+                        !!followUp ||treatmentPlan&&treatmentPlan.length >0))) {
                             Notify.info('暂无数据'); 
                             return
                 }