Selaa lähdekoodia

新增组件及页面

liuqiwen 4 vuotta sitten
vanhempi
commit
ec8bcf6a34

+ 4 - 2
dgtis-ui/src/views/system/userInfo/components/claim.vue

@@ -71,7 +71,9 @@
     props: {
       data: {
         type: Array,
-        default: []
+        default: function (){
+          return [];
+        }
       },
     },
     data() {
@@ -80,7 +82,7 @@
       };
     },
     mounted() {
-
+      console.log(this.data)
     },
     methods: {
 

+ 3 - 1
dgtis-ui/src/views/system/userInfo/components/contact.vue

@@ -22,7 +22,9 @@
     props: {
       data: {
         type: Array,
-        default: {}
+        default:function (){
+          return [];
+        }
       },
     },
     data() {

+ 3 - 1
dgtis-ui/src/views/system/userInfo/components/contractInformation.vue

@@ -120,7 +120,9 @@
     props: {
       data: {
         type: Array,
-        default: {}
+        default: function (){
+          return [];
+        }
       },
     },
     data() {

+ 3 - 1
dgtis-ui/src/views/system/userInfo/components/relationship.vue

@@ -19,7 +19,9 @@
     props: {
       data: {
         type: Array,
-        default: []
+        default: function (){
+          return [];
+        }
       },
     },
     data() {

+ 3 - 1
dgtis-ui/src/views/system/userInfo/components/tags.vue

@@ -16,7 +16,9 @@
     props: {
       data: {
         type: Array,
-        default: []
+        default: function (){
+          return [];
+        }
       },
     },
     data() {