Explorar o código

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

sophieChenyx %!s(int64=7) %!d(string=hai) anos
pai
achega
98ad49813e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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++) {