fix(全局): bug 修复
This commit is contained in:
parent
e7e45eb9bd
commit
9b80849847
|
@ -1,14 +1,20 @@
|
|||
<template>
|
||||
<a-tooltip :content="tagsTooltip" :position="props.tagPosition" :mouse-enter-delay="300">
|
||||
<div class="flex max-w-[440px] flex-row" @click="emit('click')">
|
||||
<MsTag v-for="tag of showTagList" :key="tag.id" :width="getTagWidth(tag)" :size="props.size" v-bind="attrs">
|
||||
{{ props.isStringTag ? tag : tag[props.nameKey] }}
|
||||
</MsTag>
|
||||
<MsTag v-if="props.tagList.length > props.showNum" :width="numberTagWidth" :size="props.size" v-bind="attrs">
|
||||
+{{ props.tagList.length - props.showNum }}</MsTag
|
||||
<a-tooltip
|
||||
v-if="props.tagList.length > props.showNum"
|
||||
:content="tagsTooltip"
|
||||
:position="props.tagPosition"
|
||||
:mouse-enter-delay="300"
|
||||
>
|
||||
</div>
|
||||
<MsTag :width="numberTagWidth" :size="props.size" tooltip-disabled v-bind="attrs">
|
||||
+
|
||||
{{ props.tagList.length - props.showNum }}
|
||||
</MsTag>
|
||||
</a-tooltip>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
|
@ -218,7 +218,7 @@
|
|||
otherConfig: apiDetailInfo.value.otherConfig ?? apiDetailInfo.value.request.otherConfig,
|
||||
url: apiDetailInfo.value.url ?? apiDetailInfo.value.request.url,
|
||||
}
|
||||
: {}),
|
||||
: apiDetailInfo.value),
|
||||
children: apiDetailInfo.value.children ?? apiDetailInfo.value.request.children,
|
||||
};
|
||||
// 复制
|
||||
|
|
Loading…
Reference in New Issue