Commit 4c2574f7 authored by 任国军's avatar 任国军

add active_image

parent b530ce06
Pipeline #16534 passed with stage
in 54 seconds
...@@ -18,7 +18,7 @@ class InstitutionSubService extends Service { ...@@ -18,7 +18,7 @@ class InstitutionSubService extends Service {
for (const v of AllCats) { for (const v of AllCats) {
if (v.parent_id === 0) { if (v.parent_id === 0) {
rootCats[v.id] = v.dataValues; rootCats[v.id] = v.dataValues;
rootCats[v.id].child = [{ id: 0, value: v.id, name: '全部', parent_id: 0, image: 'http://r.51gjj.com/webpublic/images/20191118/s6yRUsc5kclyu.png', active_image:'http://r.51gjj.com/webpublic/images/20191118/zYHkYp85vxk5m.png' color: '', tips: '', status: 'online', is_deleted: 0 }]; rootCats[v.id].child = [{ id: 0, value: v.id, name: '全部', parent_id: 0, image: 'http://r.51gjj.com/webpublic/images/20191118/s6yRUsc5kclyu.png', active_image:'http://r.51gjj.com/webpublic/images/20191118/zYHkYp85vxk5m.png', color: '', tips: '', status: 'online', is_deleted: 0 }];
} }
} }
......
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