应用详情-详情页tab显示问题bug

This commit is contained in:
851673013@qq.com 2022-07-18 14:00:49 +08:00
parent 8f0fbc0551
commit 5507c8ed9c
2 changed files with 9 additions and 3 deletions

View File

@ -6,7 +6,7 @@
* @Description: 应用详情 * @Description: 应用详情
--> -->
<template> <template>
<div class="algorithm-on-trial" v-if="true"> <div class="algorithm-on-trial" v-if="flag">
<detals-title title="应用详情" type="PROBATION"></detals-title> <detals-title title="应用详情" type="PROBATION"></detals-title>
<div class="main"> <div class="main">
<div class="main-left"> <div class="main-left">

View File

@ -100,7 +100,10 @@
list.value.push(item.attrType) list.value.push(item.attrType)
} else if (item.attrType === '应用展示视频') { } else if (item.attrType === '应用展示视频') {
list.value.push('应用展示') list.value.push('应用展示')
} else if (item.attrType === '访问地址') { } else if (
item.attrType === '访问地址' &&
props.dataList.applyState === '已申请'
) {
list.value.push('应用详情') list.value.push('应用详情')
} }
}) })
@ -143,7 +146,10 @@
list.value.push(item.attrType) list.value.push(item.attrType)
} else if (item.attrType === '应用展示视频') { } else if (item.attrType === '应用展示视频') {
list.value.push('应用展示') list.value.push('应用展示')
} else if (item.attrType === '访问地址') { } else if (
item.attrType === '访问地址' &&
props.dataList.applyState === '已申请'
) {
list.value.push('应用详情') list.value.push('应用详情')
} }
}) })