【代码优化】IoT: 场景联动注释格式统一

This commit is contained in:
puhui999
2025-03-29 13:04:50 +08:00
parent 279d88e729
commit 24cdcd10c1
5 changed files with 11 additions and 10 deletions

View File

@ -106,7 +106,7 @@ const actionConfig = useVModel(props, 'modelValue', emits) as Ref<ActionConfig>
const message = useMessage()
// 初始化执行器结构
/** 初始化执行器结构 */
const initActionConfig = () => {
if (!actionConfig.value) {
actionConfig.value = { type: IotRuleSceneActionTypeEnum.DEVICE_CONTROL } as ActionConfig
@ -140,7 +140,7 @@ const initActionConfig = () => {
}
}
// 产品和设备选择
/** 产品和设备选择 */
const productTableSelectRef = ref<InstanceType<typeof ProductTableSelect>>()
const deviceTableSelectRef = ref<InstanceType<typeof DeviceTableSelect>>()
const product = ref<ProductVO>()
@ -181,7 +181,7 @@ const handleDeviceSelect = (val: DeviceVO[]) => {
}
}
// 监听执行类型变化,初始化对应配置
/** 监听执行类型变化,初始化对应配置 */
watch(
() => actionConfig.value.type,
() => {