1002884655 4 år sedan
förälder
incheckning
495023b425
2 ändrade filer med 4 tillägg och 2 borttagningar
  1. 1
    1
      project.config.json
  2. 3
    1
      src/pages/Index/BookAnswer/index.vue

+ 1
- 1
project.config.json Visa fil

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

+ 3
- 1
src/pages/Index/BookAnswer/index.vue Visa fil

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