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

+ 6 - 1
pages/main/paste.js

@@ -34,7 +34,12 @@ Page({
34
         if (that.data.Words)
34
         if (that.data.Words)
35
           str+=that.data.Words+"\n";
35
           str+=that.data.Words+"\n";
36
         //str+=that.setWordsArr(res.data).join("\n");
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
         that.setData({
44
         that.setData({
40
           Words: str,
45
           Words: str,

+ 1 - 2
project.private.config.json

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