@ -30,6 +30,7 @@
<resi-details
@close="popupShow = false"
:resi-id="resId"
:popupShow="popupShow"
v-if="popupShow"
/>
</div>
@ -1,5 +1,5 @@
<template>
<popup title="居民详情" @close="handleClose">
<popup title="居民详情" v-if="popupShow" @close="handleClose">
<template v-slot:cnt>
<div class="m-info">
<div class="subtitle">
@ -671,6 +671,10 @@ export default {
type: String,
default: "",
},
popupShow: {
type: Boolean,
default: false,
components: { popup },
@ -837,11 +841,14 @@ export default {
};
watch: {
resiId(val) {
handler(val) {
if (val) {
this.getApiData();
}
immediate: true,
computed: {
currentTab() {