签入版本

This commit is contained in:
2026-10-10 12:20:37 +08:00
parent f54d7735b0
commit 49b04a1ec4
108 changed files with 1459 additions and 1982 deletions
@@ -206,14 +206,16 @@ export function getDictItemList(code: string) {
```vue
<template>
<el-select v-model="formData.status" placeholder="请选择状态">
<el-option
<a-select v-model:value="formData.status" placeholder="请选择状态" allow-clear>
<a-select-option
v-for="item in statusOptions"
:key="item.value"
:label="item.name"
:value="item.value"
/>
</el-select>
:label="item.name"
>
{{ item.name }}
</a-select-option>
</a-select>
</template>
<script setup>
@@ -272,9 +274,9 @@ const { options: statusOptions } = useDict('user_status');
```vue
<template>
<el-tag :type="row.status === 1 ? 'success' : 'danger'">
<a-tag :color="row.status === 1 ? 'success' : 'error'">
{{ row.statusText }}
</el-tag>
</a-tag>
</template>
```