Преглед изворни кода

Merge branch 'master' of http://gogs.efunbox.cn:3000/LImengbo/efunbox-schedule-miniApps

sophieChenyx пре 7 година
родитељ
комит
98ad49813e
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      pages/input_content/input_content.js

+ 2 - 2
pages/input_content/input_content.js

@@ -49,9 +49,9 @@ Page({
           mask: true,  
           duration: 1000 
         })  
-
+        that.data.tempFilePath.push(tempFilePaths);
         that.setData({
-          tempFilePath: tempFilePaths
+          tempFilePath:  that.data.tempFilePath
         })
         var uploadImgCount = 0;  
         for (var i = 0, h = tempFilePaths.length; i < h; i++) {