算法广场
This commit is contained in:
parent
2fe6aed0df
commit
6e2d146ca8
|
@ -56,17 +56,11 @@
|
|||
pageWithAttrsFunction()
|
||||
//图片显示
|
||||
const algorithmCardPhoto = (List) => {
|
||||
let obj = List.filter((item) => item.attrType === '图层缩略图')[0]
|
||||
if (obj) {
|
||||
List.map((item) => {
|
||||
if (item.attrType === '图层缩略图') {
|
||||
url.value = item.attrValue
|
||||
}
|
||||
})
|
||||
} else {
|
||||
url.value = '@/assets/capacitySquare/algorithm-photo.jpg'
|
||||
let obj = List.filter((item) => item.attrType === '应用场景')[0]
|
||||
if (obj && obj.attrValue != '') {
|
||||
obj = JSON.parse(obj.attrValue)[0].img
|
||||
}
|
||||
return url.value
|
||||
return obj || ''
|
||||
}
|
||||
//跳转详情页
|
||||
const detailFunction = (id) => {
|
||||
|
|
Loading…
Reference in New Issue