CN-1149 一开始就没超过100条的话,把more按钮隐藏掉
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
{{ entity.appName ? entity.appName : entity }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="more" >
|
||||
<span class="button" :style="{'opacity': relatedAppList.length > showRelatedAppListInfo.num ? 1 : 0.6}" @click="showMore(showRelatedAppListInfo,relatedAppList)">{{ $t('overall.more') }} > </span>
|
||||
<div class="more" v-if="relatedAppList.length > 0">
|
||||
<span class="button" :style="{'opacity': relatedAppList.length > showRelatedAppListInfo.num ? 1 : 0.6}" @click="showMore(showRelatedAppListInfo,relatedAppList)">{{ $t('overall.more') }} > </span>
|
||||
</div>
|
||||
</template>
|
||||
<div class="type-error-content" v-else>
|
||||
@@ -34,8 +34,8 @@
|
||||
{{ entity.ip ? entity.ip : entity }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="more" >
|
||||
<span class="button" :style="{'opacity': relatedIpList.length > showRelatedIpListInfo.num ? 1 : 0.6}" @click="showMore(showRelatedIpListInfo,relatedIpList)">{{ $t('overall.more') }} > </span>
|
||||
<div class="more" v-if="relatedIpList.length > 0">
|
||||
<span class="button" :style="{'opacity': relatedIpList.length > showRelatedIpListInfo.num ? 1 : 0.6}" @click="showMore(showRelatedIpListInfo,relatedIpList)">{{ $t('overall.more') }} > </span>
|
||||
</div>
|
||||
</template>
|
||||
<div class="type-error-content" v-else>
|
||||
@@ -54,8 +54,8 @@
|
||||
{{ entity.domain ? entity.domain : entity }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="more" >
|
||||
<span class="button" :style="{'opacity': relatedDomainList.length > showRelatedDomainListInfo.num ? 1 : 0.6}" @click="showMore(showRelatedDomainListInfo,relatedDomainList)">{{ $t('overall.more') }} > </span>
|
||||
<div class="more" v-if="relatedDomainList.length > 0">
|
||||
<span class="button" :style="{'opacity': relatedDomainList.length > showRelatedDomainListInfo.num ? 1 : 0.6}" @click="showMore(showRelatedDomainListInfo,relatedDomainList)">{{ $t('overall.more') }} > </span>
|
||||
</div>
|
||||
</template>
|
||||
<div class="type-error-content" v-else>
|
||||
|
||||
Reference in New Issue
Block a user