Browse Source

静态页面

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

+ 1
- 1
project.config.json View File

27
 			"outputPath": ""
27
 			"outputPath": ""
28
 		},
28
 		},
29
 		"useIsolateContext": true,
29
 		"useIsolateContext": true,
30
-		"useCompilerModule": false,
30
+		"useCompilerModule": true,
31
 		"userConfirmedUseCompilerModuleSwitch": false
31
 		"userConfirmedUseCompilerModuleSwitch": false
32
 	},
32
 	},
33
 	"compileType": "miniprogram",
33
 	"compileType": "miniprogram",

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

133
             duration: 2000
133
             duration: 2000
134
           })
134
           })
135
           this.DataLock = false
135
           this.DataLock = false
136
-          wx.navigateBack({ changed: true })
136
+          setTimeout(() => {
137
+            wx.navigateBack({ changed: true })
138
+          }, 2000)
137
         }).catch(() => {
139
         }).catch(() => {
138
           this.DataLock = false
140
           this.DataLock = false
139
         })
141
         })