BUG 26119

This commit is contained in:
aixianling
2021-12-31 10:28:36 +08:00
parent 41b4957440
commit f395c5afd0
2 changed files with 16 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
<template>
<div class="AppSpecialPeople">
<component
v-if="refresh"
:is="component"
@change="onChange"
:params="params">
@@ -19,11 +20,12 @@ export default {
data() {
return {
component: 'Detail',
params: {}
params: {},
refresh: true
}
},
components: { Detail, Add },
components: {Detail, Add},
methods: {
onChange(e) {
@@ -32,16 +34,21 @@ export default {
},
onShow() {
document.title = "特殊人群"
this.refresh = false
this.$nextTick(() => {
this.refresh = true
})
}
},
}
</script>
<style lang="scss" scoped>
uni-page-body{
uni-page-body {
height: 100%;
}
.AppSpecialPeople{
.AppSpecialPeople {
height: 100%;
}
</style>
</style>