修复房间标签地区不展示问题
This commit is contained in:
@@ -548,7 +548,10 @@ export default {
|
|||||||
initPartition() {
|
initPartition() {
|
||||||
getPartitionInfoList().then(res => {
|
getPartitionInfoList().then(res => {
|
||||||
let data = res.data;
|
let data = res.data;
|
||||||
let array = [{
|
buildSelectOption(
|
||||||
|
"#partitionId",
|
||||||
|
null,
|
||||||
|
[{
|
||||||
value: '',
|
value: '',
|
||||||
text: '全部',
|
text: '全部',
|
||||||
}].concat(data.map((v) => {
|
}].concat(data.map((v) => {
|
||||||
@@ -556,12 +559,7 @@ export default {
|
|||||||
value: v.id,
|
value: v.id,
|
||||||
text: v.desc,
|
text: v.desc,
|
||||||
};
|
};
|
||||||
}));
|
}))
|
||||||
console.log(array);
|
|
||||||
buildSelectOption(
|
|
||||||
"#modal_partitionId",
|
|
||||||
null,
|
|
||||||
array
|
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user