【代码评审】IoT:数据桥梁的接入

This commit is contained in:
YunaiV
2025-03-16 23:44:56 +08:00
parent 79507aef6d
commit c87ed7fe17
12 changed files with 52 additions and 39 deletions

View File

@ -83,7 +83,7 @@ import {
RocketMQConfigForm
} from './config'
/** IoT 数据桥梁 表单 */
/** IoT 数据桥梁表单 */
defineOptions({ name: 'IoTDataBridgeForm' })
const { t } = useI18n() // 国际化
@ -95,8 +95,8 @@ const formLoading = ref(false) // 表单的加载中1修改时的数据加
const formType = ref('') // 表单的类型create - 新增update - 修改
const formData = ref<DataBridgeVO>({
status: 0,
direction: 1,
type: 1,
direction: 1, // TODO @puhui999:枚举类
type: 1, // TODO @puhui999:枚举类
config: {} as any
})
const formRules = reactive({