瀏覽代碼

静态页面

1002884655 4 年之前
父節點
當前提交
5599434493
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1
    1
      project.config.json
  2. 2
    2
      src/pages/Index/BookAnswer/index.vue

+ 1
- 1
project.config.json 查看文件

@@ -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 查看文件

@@ -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
           })