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

@@ -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>