diff --git a/pages_tool/form/formdata.vue b/pages_tool/form/formdata.vue index a0c26cf..a3c4aff 100644 --- a/pages_tool/form/formdata.vue +++ b/pages_tool/form/formdata.vue @@ -109,13 +109,9 @@ export default { if (res.code == 0 && res.data) { this.detail = res.data console.log(`form data =>`, this.detail) - - // 非H5的情况下,设置标题 - if (!this.isFromMpWebView) { - uni.setNavigationBarTitle({ - title: res.data.form_name - }) - } + uni.setNavigationBarTitle({ + title: res.data.form_name + }) } this.$refs.loadingCover && this.$refs.loadingCover.hide() },