Browse Source

订单发货列表BUG修复

macro 4 năm trước cách đây
mục cha
commit
4dffa0d748
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/views/oms/order/deliverOrderList.vue

+ 4 - 0
src/views/oms/order/deliverOrderList.vue

@@ -62,6 +62,10 @@
     },
     created(){
       this.list= this.$route.query.list;
+      //当list不为数组时转换为数组
+      if(this.list instanceof Array===false){
+        this.list=[];
+      }
     },
     methods:{
       cancel(){