Kaynağa Gözat

合伙人-签约、服务协议url传参默认值

panyong 4 yıl önce
ebeveyn
işleme
472b7dcb1b

+ 10 - 1
htmldev/loan/src/views/partner/agreement/index.vue

@@ -117,7 +117,16 @@
 <script>
   export default {
     name: 'agreement',
-    props: ['YYMMDD', 'compactAddress'],
+    props: {
+      YYMMDD: {
+        type: String,
+        default: ''
+      },
+      compactAddress: {
+        type: String,
+        default: ''
+      }
+    },
     async mounted () {
       await this.$nextTick()
       this.$refreshTitle('服务协议')

+ 6 - 1
htmldev/loan/src/views/partner/compact/index.vue

@@ -206,7 +206,12 @@
 
   export default {
     name: 'compact',
-    props: ['id'],
+    props: {
+      id: {
+        type: String,
+        default: ''
+      }
+    },
     data () {
       return {
         booFetch: false,