fix: 🐛 el-link 组件弃用underline属性为boolean值的警告
- 将 :underline="false" 替换为 underline="never"
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user