5.1日 暂定 水电表管理
This commit is contained in:
@@ -137,7 +137,6 @@ async function init() {
|
||||
getHouseRental(houseRentalid.value).then((res) => {
|
||||
HouseInfo.value = res.data;
|
||||
HouseInfo.value.facilitieslist = res.data.facilities.split(',').filter((item) => item);
|
||||
console.log(HouseInfo.value.facilitieslist);
|
||||
HouseInfo.value.houseImageUrls = HouseInfo.value.houseImageUrl.split(',').filter((item) => item);
|
||||
const arr = getHousePathById(treedata.value, HouseInfo.value.houseId, 'label');
|
||||
HouseInfo.value.house = arr.join(' - ');
|
||||
@@ -147,7 +146,6 @@ init();
|
||||
|
||||
function handlefacilities(id: string) {
|
||||
const find = housefacilities.value.find((item) => item.id === id);
|
||||
console.log(find, id);
|
||||
return find ? find.name : '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user