chengjie 4 months ago
parent
commit
3fb38084c3
3 changed files with 8 additions and 4 deletions
  1. 1 1
      app.js
  2. 6 1
      pages/main/paste.js
  3. 1 2
      project.private.config.json

+ 1 - 1
app.js

@@ -2,7 +2,7 @@
2 2
 App({
3 3
   globalData: {
4 4
     Version: "1.0.7",
5
-    IsProduction: true,
5
+    //IsProduction: true,
6 6
     ShareTitle: "阅读理解+答题",
7 7
     SharePath: "pages/index/index",
8 8
     ShareImage: '../images/pic_07.png',

+ 6 - 1
pages/main/paste.js

@@ -34,7 +34,12 @@ Page({
34 34
         if (that.data.Words)
35 35
           str+=that.data.Words+"\n";
36 36
         //str+=that.setWordsArr(res.data).join("\n");
37
-        str+=res.data;
37
+        let arr=res.data.split(",");
38
+        if (arr.length>3){
39
+          str+=arr.join("\n");
40
+        }
41
+        else
42
+          str+=res.data;
38 43
         
39 44
         that.setData({
40 45
           Words: str,

+ 1 - 2
project.private.config.json

@@ -3,7 +3,6 @@
3 3
   "projectname": "english_learned_master",
4 4
   "setting": {
5 5
     "compileHotReLoad": true,
6
-    "skylineRenderEnable": false,
7 6
     "urlCheck": false,
8 7
     "coverView": true,
9 8
     "lazyloadPlaceholderEnable": false,
@@ -19,5 +18,5 @@
19 18
     "checkInvalidKey": true,
20 19
     "ignoreDevUnusedFiles": true
21 20
   },
22
-  "libVersion": "3.0.2"
21
+  "libVersion": "2.21.4"
23 22
 }