tangning 2 năm trước cách đây
mục cha
commit
ff24d8322d
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/views/productOperation/cameraScene.vue

+ 3 - 0
src/views/productOperation/cameraScene.vue

@@ -238,6 +238,9 @@
             dataIndex: 'addressComponent',
             width: 100,
             customRender: ({ record }) => {
+              if (!record.addressComponent) {
+                return '';
+              }
               let { city } = record.addressComponent;
               return city; // + district + township;
             },