mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-23 06:59:15 +08:00
[bugfix] AddressEdit: area popup should mount in document root (#1211)
This commit is contained in:
parent
49701851f7
commit
3fa49cdd3e
@ -65,7 +65,7 @@
|
||||
{{ $t('deleteAddress') }}
|
||||
</van-button>
|
||||
</div>
|
||||
<popup v-model="showArea" position="bottom" :lazy-render="false">
|
||||
<popup v-model="showArea" position="bottom" :lazy-render="false" :get-container="getAreaContainer">
|
||||
<van-area
|
||||
ref="area"
|
||||
:loading="!areaListLoaded"
|
||||
@ -295,6 +295,10 @@ export default create({
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
getAreaContainer() {
|
||||
return document.body;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user