This commit is contained in:
851673013@qq.com 2022-07-18 18:17:48 +08:00
parent 6080e7933a
commit 46aef1c4df
1 changed files with 20 additions and 0 deletions

View File

@ -33,6 +33,9 @@
<span class="label" v-if="deploymentLocation">
{{ deploymentLocation }}
</span>
<span class="label" v-if="classOfAlgorithm.attrValue">
{{ classOfAlgorithm.attrValue }}
</span>
</p>
</div>
<!-- <span class="label">免费</span> -->
@ -77,6 +80,7 @@
const props = defineProps({
dataList: { type: Object, default: null },
})
const classOfAlgorithm = ref('')
// console.log('==================>', props.dataList.isCollect)
const router = useRouter()
const applicationArea = ref('')
@ -164,6 +168,13 @@
let obj = props.dataList.infoList.filter(
(val) => val.attrType === '组件类型'
)[0]
if (
props.dataList.infoList.filter((val) => val.attrType === '算法类别')[0]
) {
classOfAlgorithm.value = props.dataList.infoList.filter(
(val) => val.attrType === '算法类别'
)[0]
}
if (
props.dataList.infoList.filter((val) => val.attrType === '部署位置')[0]
) {
@ -185,6 +196,15 @@
let obj = props.dataList.infoList.filter(
(val) => val.attrType === '组件类型'
)[0]
if (
props.dataList.infoList.filter(
(val) => val.attrType === '算法类别'
)[0]
) {
classOfAlgorithm.value = props.dataList.infoList.filter(
(val) => val.attrType === '算法类别'
)[0]
}
if (
props.dataList.infoList.filter(
(val) => val.attrType === '部署位置'