同步地区组件

This commit is contained in:
aixianling
2022-03-17 11:03:48 +08:00
parent 36ff4ab3e1
commit 38b9f8f3c8
2 changed files with 32 additions and 25 deletions

View File

@@ -131,12 +131,12 @@ export default {
obj.select('#areaSelector').boundingClientRect()
obj.exec(rect => {
if (rect.length) {
this.height = `calc(100% - ${rect[0].height}px)`
this.height = `calc(100% - ${rect[0]?.height}px)`
}
})
},
getFullArea(areaId) {
return areaId && this.$http.post('/admin/area/getAllParentAreaId', null, {
return areaId && this.$instance.post('/admin/area/getAllParentAreaId', null, {
withoutToken: true,
params: {areaId},
}).then((res) => {
@@ -327,6 +327,8 @@ export default {
}
::v-deep .pendingList {
height: 500px;
overflow-y: auto;
padding: 0 32px 120px;
box-sizing: border-box;