diff --git a/src/apps/AppAskForm/AppAskForm.vue b/src/apps/AppAskForm/AppAskForm.vue
index f30b3a92..f835c37a 100644
--- a/src/apps/AppAskForm/AppAskForm.vue
+++ b/src/apps/AppAskForm/AppAskForm.vue
@@ -1,10 +1,6 @@
-
-
+
@@ -21,7 +17,8 @@ export default {
data() {
return {
component: 'Tabbar',
- params: {}
+ params: {},
+ refresh: true
}
},
@@ -40,9 +37,14 @@ export default {
},
onShow() {
document.title = "问卷表单"
- this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact', 'shareAppMessage', 'shareWechatMessage']).then(() => {
- this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType'])
+ this.refresh = false
+ this.$nextTick(() => {
+ this.refresh = true
+ this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact', 'shareAppMessage', 'shareWechatMessage']).then(() => {
+ this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType'])
+ })
})
+
}
}
diff --git a/src/apps/AppAskForm/components/Tabbar.vue b/src/apps/AppAskForm/components/Tabbar.vue
index 34ab7f52..5e6a1f0f 100644
--- a/src/apps/AppAskForm/components/Tabbar.vue
+++ b/src/apps/AppAskForm/components/Tabbar.vue
@@ -1,8 +1,8 @@
@@ -26,7 +26,6 @@ export default {
AddList,
List
},
-
computed: {
tabBar() {
const link = icon => `${this.$cdn}askform/${icon}.png`
@@ -40,13 +39,11 @@ export default {
}))
}
},
-
methods: {
onChange(e) {
this.$emit('change', e)
}
},
-
onReachBottom() {
if (this.currIndex === 0) {
}