Explorar el Código

收货人为空的报错问题

hu hao hace 4 años
padre
commit
f9dacc1aea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      resources/views/order/index/delivering.blade.php

+ 1 - 1
resources/views/order/index/delivering.blade.php

@@ -387,7 +387,7 @@
             methods:{
                 initData(){
                     this.orders.forEach((order)=>{
-                        if (order.c_contact.length>50 && order.c_contact.substring(0,3)==='~Ag')order.is_encryption = true;
+                        if (order.c_contact && order.c_contact.length>50 && order.c_contact.substring(0,3)==='~Ag')order.is_encryption = true;
                     });
                 },
                 getQueryVariable(variable){