BUG 26029
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="form">
|
||||
<component v-if="refresh" :is="component" @change="onChange" :params="params"/>
|
||||
<component ref="TabPage" :is="component" @change="onChange" :params="params"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Tabbar from './components/Tabbar.vue'
|
||||
import AddForm from './components/AddForm.vue'
|
||||
import Result from './components/Result.vue'
|
||||
import AddForm from './AddForm.vue'
|
||||
import Result from './Result.vue'
|
||||
import {mapActions} from "vuex";
|
||||
|
||||
export default {
|
||||
@@ -37,9 +37,8 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
document.title = "问卷表单"
|
||||
this.refresh = false
|
||||
this.$refs.TabPage?.show()
|
||||
this.$nextTick(() => {
|
||||
this.refresh = true
|
||||
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact', 'shareAppMessage', 'shareWechatMessage']).then(() => {
|
||||
this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType'])
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user