Commit 506ccae2 authored by 黄奎's avatar 黄奎

页面修改

parent e175b293
...@@ -10,6 +10,8 @@ let travelFeatureTwo = { ...@@ -10,6 +10,8 @@ let travelFeatureTwo = {
images: [], images: [],
type:"Hotel" type:"Hotel"
}; };
if(item.ImaArray&& item.ImaArray.length>0)
{
for (let item2 of item.ImaArray) { for (let item2 of item.ImaArray) {
let obj2 = { let obj2 = {
Url: item2.Url, Url: item2.Url,
...@@ -18,6 +20,7 @@ let travelFeatureTwo = { ...@@ -18,6 +20,7 @@ let travelFeatureTwo = {
}; };
obj.images.push(obj2) obj.images.push(obj2)
} }
}
obj.description = item.Description; obj.description = item.Description;
obj.name = item.HotelName ? item.HotelName : ''; obj.name = item.HotelName ? item.HotelName : '';
obj.MD5Sign = item.MD5Sign ? item.MD5Sign : ''; obj.MD5Sign = item.MD5Sign ? item.MD5Sign : '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment