修复房间标签地区不展示问题

This commit is contained in:
liaozetao
2024-04-16 10:49:32 +08:00
parent cd2bf234c3
commit 53bd725166

View File

@@ -548,7 +548,10 @@ export default {
initPartition() {
getPartitionInfoList().then(res => {
let data = res.data;
let array = [{
buildSelectOption(
"#partitionId",
null,
[{
value: '',
text: '全部',
}].concat(data.map((v) => {
@@ -556,12 +559,7 @@ export default {
value: v.id,
text: v.desc,
};
}));
console.log(array);
buildSelectOption(
"#modal_partitionId",
null,
array
}))
);
});
},