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

页面修改

parent e175b293
......@@ -10,13 +10,16 @@ let travelFeatureTwo = {
images: [],
type:"Hotel"
};
for (let item2 of item.ImaArray) {
let obj2 = {
Url: item2.Url,
x: 0,
y: 0
};
obj.images.push(obj2)
if(item.ImaArray&& item.ImaArray.length>0)
{
for (let item2 of item.ImaArray) {
let obj2 = {
Url: item2.Url,
x: 0,
y: 0
};
obj.images.push(obj2)
}
}
obj.description = item.Description;
obj.name = item.HotelName ? item.HotelName : '';
......
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