Ver Fonte

仅预览方法

xiaohaizhao há 1 ano atrás
pai
commit
6a51feb73b
1 ficheiros alterados com 9 adições e 0 exclusões
  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: {