From 1220f5ca98b10b735a47c37a81fbfc554b01e2fe Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期一, 20 一月 2025 14:41:35 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/data/channel/http/api/tag/TagForm.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/data/channel/http/api/tag/TagForm.vue b/src/views/data/channel/http/api/tag/TagForm.vue
index 210c944..5d61c53 100644
--- a/src/views/data/channel/http/api/tag/TagForm.vue
+++ b/src/views/data/channel/http/api/tag/TagForm.vue
@@ -31,7 +31,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"
@@ -56,8 +56,8 @@
 </template>
 <script lang="ts" setup>
 import * as HttpTagApi from '@/api/data/channel/http/tag'
-import { CommonEnabledBool } from '@/utils/constants'
-import { DICT_TYPE, getStrDictOptions, getBoolDictOptions } from '@/utils/dict'
+import {CommonEnabled} from '@/utils/constants'
+import { DICT_TYPE, getStrDictOptions, getIntDictOptions } from '@/utils/dict'
 
 defineOptions({name: 'HttpTagForm'})
 
@@ -73,7 +73,7 @@
   tagName: undefined,
   dataType: undefined,
   tagDesc: '',
-  enabled: CommonEnabledBool.ENABLE,
+  enabled: CommonEnabled.ENABLE,
 })
 const formRules = reactive({
   tagName: [{required: true, message: 'Tag名称不能为空', trigger: 'blur'}],
@@ -136,7 +136,7 @@
     tagName: undefined,
     dataType: undefined,
     tagDesc: '',
-    enabled: CommonEnabledBool.ENABLE,
+    enabled: CommonEnabled.ENABLE,
   }
   formRef.value?.resetFields()
 }

--
Gitblit v1.9.3