chore: 更新依赖包版本

This commit is contained in:
Ray.Hao
2026-02-14 12:08:07 +08:00
parent 91977f4ff4
commit b050824da7
6 changed files with 5769 additions and 4718 deletions

View File

@@ -133,7 +133,7 @@
</el-tag>
</template>
<!-- <el-option label="默认文本" value="" /> -->
<el-option v-for="type in tagType" :key="type" :label="type" :value="type">
<el-option v-for="type in tagType" :key="type" :label="type" :value="type as string">
<div flex-y-center gap-10px>
<el-tag :type="type">{{ formData.label ?? "字典标签" }}</el-tag>
<span>{{ type }}</span>
@@ -154,7 +154,6 @@
</template>
<script setup lang="ts">
import type { TagProps } from "element-plus";
import DictAPI from "@/api/system/dict";
import type { DictItemQueryParams, DictItem, DictItemForm } from "@/types/api";
@@ -184,7 +183,7 @@ const dialog = reactive({
const formData = reactive<DictItemForm>({});
// 标签类型
const tagType: TagProps["type"][] = ["primary", "success", "info", "warning", "danger"];
const tagType = ["primary", "success", "info", "warning", "danger"] as const;
const computedRules = computed(() => {
const rules: Partial<Record<string, any>> = {