chengjie 6 gadi atpakaļ
vecāks
revīzija
495e543e74
3 mainītis faili ar 7 papildinājumiem un 4 dzēšanām
  1. 2 2
      app.js
  2. 5 1
      pages/main/add.js
  3. 0 1
      pages/main/default.js

+ 2 - 2
app.js

@@ -25,8 +25,8 @@ App({
25 25
     }
26 26
   },
27 27
   globalData: {
28
-    Version: "1.1.7",
29
-    IsProduction: true,
28
+    Version: "1.1.8",
29
+    IsProduction: false,
30 30
     ShareTitle: "刻意学习,高效成长",
31 31
     SharePath: "pages/index/index",
32 32
     ShareImage: '',

+ 5 - 1
pages/main/add.js

@@ -324,7 +324,11 @@ Page({
324 324
           arrSource.push(arr[i][j].Content);
325 325
           if (arr[i][j].ContentServer.indexOf(app.globalData.uploadImageUrl) >= 0
326 326
             || arr[i][j].ContentServer.indexOf("baidu.com") >= 0) {
327
-            arrResult.push(arr[i][j].ContentServer);
327
+            var result={};
328
+            result.Source = arr[i][j].ContentServer;
329
+            result.Target = arr[i][j].ContentServer;
330
+
331
+            arrResult.push(result);
328 332
           }
329 333
           else {
330 334
             var source = arr[i][j].Content;

+ 0 - 1
pages/main/default.js

@@ -9,7 +9,6 @@ Page({
9 9
     IsExit:false,
10 10
   },
11 11
   onLoad: function (options) {
12
-    wx.hideShareMenu();
13 12
     var that = this;
14 13
     that.setData({
15 14
       Containnerheight: main.getWindowHeight(),