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(() => {
|
const isPropertySetAction = computed(() => {
|
||||||
return (
|
return action.value.type === IotRuleSceneActionTypeEnum.DEVICE_PROPERTY_SET;
|
||||||
action.value.type ===
|
|
||||||
IotRuleSceneActionTypeEnum.DEVICE_PROPERTY_SET
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// 计算属性:是否为服务调用类型
|
// 计算属性:是否为服务调用类型
|
||||||
const isServiceInvokeAction = computed(() => {
|
const isServiceInvokeAction = computed(() => {
|
||||||
return (
|
return action.value.type === IotRuleSceneActionTypeEnum.DEVICE_SERVICE_INVOKE;
|
||||||
action.value.type ===
|
|
||||||
IotRuleSceneActionTypeEnum.DEVICE_SERVICE_INVOKE
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -426,7 +426,9 @@ watch(
|
||||||
调用类型:
|
调用类型:
|
||||||
</span>
|
</span>
|
||||||
<span class="text-12px flex-1 text-primary">
|
<span class="text-12px flex-1 text-primary">
|
||||||
{{ getThingModelServiceCallTypeLabel(selectedProperty.callType) }}
|
{{
|
||||||
|
getThingModelServiceCallTypeLabel(selectedProperty.callType)
|
||||||
|
}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue