From e685f456c1840ec57ca32941bd8ea6fad3232bab Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 15 Mar 2022 19:10:17 +0800 Subject: [PATCH] BUG 27475 --- src/saas/AppAskForm/AppForm.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/saas/AppAskForm/AppForm.vue b/src/saas/AppAskForm/AppForm.vue index 3b10e7fe..a49627cd 100644 --- a/src/saas/AppAskForm/AppForm.vue +++ b/src/saas/AppAskForm/AppForm.vue @@ -44,6 +44,7 @@ export default { let {corpId, code, suiteId, id} = this.$route.query if (this.isPreview) { this.access = true + } else if (this.access) { } else if (!!this.token) { this.$http.post("/app/appquestionnairetemplate/commitCheck", null, { params: {id} @@ -65,12 +66,10 @@ export default { } else this.getCode() }, }, - created() { - this.checkAccess() - }, onShow() { document.title = '问卷调查' wx.hideOptionMenu() + this.checkAccess() }, }