Преглед изворни кода

核保弹框点取消 出现个红色的toast 问题解决

祁鹏飞 пре 1 месец
родитељ
комит
cc27f3e7c2
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/views/insurancePolicy/index.vue

+ 1 - 0
src/views/insurancePolicy/index.vue

@@ -3223,6 +3223,7 @@ const handleUnderwritingClose = (bool: any, dataObj: any) => {
     insOrderRightsInfoDto.value.totalPriceCount = dataObj.totalPriceCount;
   }
   underwritingShow.value = false
+  if(!bool) return
   if (bool?.code == 200) {
     ElMessage({
       message: bool.msg,