fix 修复el-tag标签类型不一致问题

This commit is contained in:
LiuHao
2024-04-16 17:52:04 +08:00
parent efeff40f2e
commit 9967a72e24
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import type * as ep from 'element-plus';
declare global {
declare type ElTagType = 'success' | 'info' | 'warning' | 'danger' | '';
declare type ElTagType = 'primary' | 'success' | 'info' | 'warning' | 'danger';
declare type ElFormInstance = ep.FormInstance;
declare type ElTableInstance = ep.TableInstance;
declare type ElUploadInstance = ep.UploadInstance;