fix: 🐛 el-link 组件弃用underline属性为boolean值的警告

- 将 :underline="false" 替换为 underline="never"
This commit is contained in:
zimo493
2025-04-28 14:30:01 +08:00
parent 0907d9d4b1
commit ee1718b9d9
8 changed files with 15 additions and 15 deletions

View File

@@ -295,7 +295,7 @@
v-if="contentConfig.importTemplate"
type="primary"
icon="download"
:underline="false"
underline="never"
@click="handleDownloadTemplate"
>
下载模板

View File

@@ -46,7 +46,7 @@
<el-button icon="refresh" @click="handleReset">重置</el-button>
<!-- 展开/收起 -->
<template v-if="isExpandable && formItems.length > showNumber">
<el-link class="ml-3" type="primary" :underline="false" @click="isExpand = !isExpand">
<el-link class="ml-3" type="primary" underline="never" @click="isExpand = !isExpand">
{{ isExpand ? "收起" : "展开" }}
<component :is="isExpand ? ArrowUp : ArrowDown" class="w-4 h-4 ml-2" />
</el-link>

View File

@@ -35,7 +35,7 @@
</div>
<el-divider />
<div class="flex-x-between">
<el-link type="primary" :underline="false" @click="handleViewMoreNotice">
<el-link type="primary" underline="never" @click="handleViewMoreNotice">
<span class="text-xs">查看更多</span>
<el-icon class="text-xs">
<ArrowRight />
@@ -44,7 +44,7 @@
<el-link
v-if="noticeList.length > 0"
type="primary"
:underline="false"
underline="never"
@click="handleMarkAllAsRead"
>
<span class="text-xs">全部已读</span>