Selaa lähdekoodia

仅预览方法

xiaohaizhao 1 vuosi sitten
vanhempi
commit
6a51feb73b
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 9 0
      components/Yl_Files/index.js

+ 9 - 0
components/Yl_Files/index.js

@@ -26,6 +26,15 @@ Component({
         },
         strict: {
             type: Boolean
+        },
+        attinfos: {
+            type: Array
+        }
+    },
+    observers: {
+        'attinfos': function (attinfos) {
+            this.initData();
+            this.handleFiles(attinfos, true)
         }
     },
     methods: {