BUG 26119
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user