From 9e876a11f6f0b384d4b1f0a60e066944dbcdeaa5 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期三, 27 十一月 2024 09:55:45 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/data/channel/kio/tag/TagForm.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/data/channel/kio/tag/TagForm.vue b/src/views/data/channel/kio/tag/TagForm.vue index 1f3604e..ad6da51 100644 --- a/src/views/data/channel/kio/tag/TagForm.vue +++ b/src/views/data/channel/kio/tag/TagForm.vue @@ -36,7 +36,7 @@ <el-form-item label="是否启用" prop="enabled"> <el-select v-model="formData.enabled" placeholder="请选择"> <el-option - v-for="dict in getBoolDictOptions(DICT_TYPE.IS_ENABLED)" + v-for="dict in getIntDictOptions(DICT_TYPE.COM_IS_INT)" :key="dict.value" :label="dict.label" :value="dict.value" @@ -61,9 +61,9 @@ </template> <script lang="ts" setup> import * as KioTagApi from '@/api/data/channel/kio/tag' - import { CommonEnabled } from '@/utils/constants' + import {CommonEnabled} from '@/utils/constants' import {isPositiveInteger} from '@/utils/validate' - import { DICT_TYPE, getStrDictOptions, getBoolDictOptions } from '@/utils/dict' + import { DICT_TYPE, getStrDictOptions, getIntDictOptions } from '@/utils/dict' defineOptions({name: 'KioTagForm'}) -- Gitblit v1.9.3