Browse Source

静态页面

1002884655 4 years ago
parent
commit
5599434493
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      project.config.json
  2. 2
    2
      src/pages/Index/BookAnswer/index.vue

+ 1
- 1
project.config.json View File

@@ -28,7 +28,7 @@
28 28
 		},
29 29
 		"bundle": false,
30 30
 		"useIsolateContext": true,
31
-		"useCompilerModule": false,
31
+		"useCompilerModule": true,
32 32
 		"userConfirmedUseCompilerModuleSwitch": false,
33 33
 		"useMultiFrameRuntime": true,
34 34
 		"useApiHook": true,

+ 2
- 2
src/pages/Index/BookAnswer/index.vue View File

@@ -120,9 +120,9 @@ export default {
120 120
       })
121 121
       if (Bool && !this.DataLock) {
122 122
         this.DataLock = true
123
-        this.PostArticleAnswer({ data: { data: this.ArticleInfo.postTestList } }).then(() => {
123
+        this.PostArticleAnswer({ data: { data: this.ArticleInfo.postTestList } }).then((res) => {
124 124
           wx.showToast({
125
-            title: '提交成功',
125
+            title: res.data.data,
126 126
             icon: 'none',
127 127
             duration: 2000
128 128
           })