Commit 741ebd2e authored by Hsinli's avatar Hsinli

add id

parent a0271d31
Pipeline #14927 passed with stage
in 11 seconds
...@@ -32,6 +32,7 @@ class AbroadHouseService extends Service { ...@@ -32,6 +32,7 @@ class AbroadHouseService extends Service {
let data = []; let data = [];
for (let i in list) { for (let i in list) {
data[i] = { data[i] = {
id: list[i].name,
name: list[i].name || '', name: list[i].name || '',
images: list[i].images ? JSON.parse(list[i].images) : [], images: list[i].images ? JSON.parse(list[i].images) : [],
tags: list[i].tags ? JSON.parse(list[i].tags) : [], tags: list[i].tags ? JSON.parse(list[i].tags) : [],
......
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