BUG 27475
This commit is contained in:
@@ -44,6 +44,7 @@ export default {
|
|||||||
let {corpId, code, suiteId, id} = this.$route.query
|
let {corpId, code, suiteId, id} = this.$route.query
|
||||||
if (this.isPreview) {
|
if (this.isPreview) {
|
||||||
this.access = true
|
this.access = true
|
||||||
|
} else if (this.access) {
|
||||||
} else if (!!this.token) {
|
} else if (!!this.token) {
|
||||||
this.$http.post("/app/appquestionnairetemplate/commitCheck", null, {
|
this.$http.post("/app/appquestionnairetemplate/commitCheck", null, {
|
||||||
params: {id}
|
params: {id}
|
||||||
@@ -65,12 +66,10 @@ export default {
|
|||||||
} else this.getCode()
|
} else this.getCode()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
|
||||||
this.checkAccess()
|
|
||||||
},
|
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '问卷调查'
|
document.title = '问卷调查'
|
||||||
wx.hideOptionMenu()
|
wx.hideOptionMenu()
|
||||||
|
this.checkAccess()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user