style: 应用 lint 格式化到 ele scene 设备控制 / 属性选择器组件
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>pull/345/head
parent
4b6e2de778
commit
df720b2c1a
|
|
@ -65,18 +65,12 @@ const paramsValue = computed({
|
|||
|
||||
// 计算属性:是否为属性设置类型
|
||||
const isPropertySetAction = computed(() => {
|
||||
return (
|
||||
action.value.type ===
|
||||
IotRuleSceneActionTypeEnum.DEVICE_PROPERTY_SET
|
||||
);
|
||||
return action.value.type === IotRuleSceneActionTypeEnum.DEVICE_PROPERTY_SET;
|
||||
});
|
||||
|
||||
// 计算属性:是否为服务调用类型
|
||||
const isServiceInvokeAction = computed(() => {
|
||||
return (
|
||||
action.value.type ===
|
||||
IotRuleSceneActionTypeEnum.DEVICE_SERVICE_INVOKE
|
||||
);
|
||||
return action.value.type === IotRuleSceneActionTypeEnum.DEVICE_SERVICE_INVOKE;
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -426,7 +426,9 @@ watch(
|
|||
调用类型:
|
||||
</span>
|
||||
<span class="text-12px flex-1 text-primary">
|
||||
{{ getThingModelServiceCallTypeLabel(selectedProperty.callType) }}
|
||||
{{
|
||||
getThingModelServiceCallTypeLabel(selectedProperty.callType)
|
||||
}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue