mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-23 15:09:16 +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') }}
|
{{ $t('deleteAddress') }}
|
||||||
</van-button>
|
</van-button>
|
||||||
</div>
|
</div>
|
||||||
<popup v-model="showArea" position="bottom" :lazy-render="false">
|
<popup v-model="showArea" position="bottom" :lazy-render="false" :get-container="getAreaContainer">
|
||||||
<van-area
|
<van-area
|
||||||
ref="area"
|
ref="area"
|
||||||
:loading="!areaListLoaded"
|
:loading="!areaListLoaded"
|
||||||
@ -295,6 +295,10 @@ export default create({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
getAreaContainer() {
|
||||||
|
return document.body;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user