fix tag dropdown (#116)

This commit is contained in:
Fine0830 2022-07-11 10:22:09 +08:00 committed by GitHub
parent 7fbd6170de
commit 024cd1195d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,7 @@ limitations under the License. -->
:hide-on-click="false" :hide-on-click="false"
style="margin: 20px 0 0 -130px" style="margin: 20px 0 0 -130px"
v-if="tagArr.length" v-if="tagArr.length"
:max-height="400"
> >
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
@ -68,12 +69,12 @@ limitations under the License. -->
> >
{{ t("tagsLink") }} {{ t("tagsLink") }}
</a> </a>
<el-tooltip :content="t(tipsMap[type])"> <el-tooltip :content="t((tipsMap as any)[type])">
<span> <span>
<Icon class="icon-help mr-5" iconName="help" size="middle" /> <Icon class="icon-help mr-5" iconName="help" size="middle" />
</span> </span>
</el-tooltip> </el-tooltip>
<b v-if="type === 'AL'">{{ t("noticeTag") }}</b> <b v-if="type === 'ALARM'">{{ t("noticeTag") }}</b>
</span> </span>
</div> </div>
</template> </template>