暂无子条件组
点击上方"添加子条件组"按钮开始配置
diff --git a/apps/web-antd/src/views/iot/rule/scene/form/configs/MainConditionInnerConfig.vue b/apps/web-antd/src/views/iot/rule/scene/form/configs/MainConditionInnerConfig.vue
index c8e8469da..98e43ad5f 100644
--- a/apps/web-antd/src/views/iot/rule/scene/form/configs/MainConditionInnerConfig.vue
+++ b/apps/web-antd/src/views/iot/rule/scene/form/configs/MainConditionInnerConfig.vue
@@ -1,7 +1,10 @@
-
-
+
-
+
+
-
-
-
+
+
+
{
"
@change="handleProductChange"
/>
-
-
-
-
+
+
+
+
{
:product-id="condition.productId"
@change="handleDeviceChange"
/>
-
-
-
+
+
+
-
+
-
-
+
+
{
:device-id="condition.deviceId"
@change="handlePropertyChange"
/>
-
-
+
+
-
-
+
+
{
"
:property-type="propertyType"
/>
-
-
+
+
-
-
+
+
@@ -269,7 +272,7 @@ const handlePropertyChange = (propertyInfo: any) => {
"
v-model="condition.value"
type="event"
- :config="eventConfig"
+ :config="eventConfig as any"
placeholder="请输入 JSON 格式的事件参数"
/>
@@ -283,17 +286,17 @@ const handlePropertyChange = (propertyInfo: any) => {
:operator="condition.operator"
:property-config="propertyConfig"
/>
-
-
-
+
+
+
-
-
-
+
+
+
{
"
@change="handleProductChange"
/>
-
-
-
-
+
+
+
+
{
:product-id="condition.productId"
@change="handleDeviceChange"
/>
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
diff --git a/apps/web-antd/src/views/iot/rule/scene/form/configs/SubConditionGroupConfig.vue b/apps/web-antd/src/views/iot/rule/scene/form/configs/SubConditionGroupConfig.vue
index 979e2bf1a..ad14e64ee 100644
--- a/apps/web-antd/src/views/iot/rule/scene/form/configs/SubConditionGroupConfig.vue
+++ b/apps/web-antd/src/views/iot/rule/scene/form/configs/SubConditionGroupConfig.vue
@@ -1,9 +1,12 @@
@@ -92,10 +95,10 @@ const updateCondition = (index: number, condition: TriggerCondition) => {
暂无条件
点击下方按钮添加第一个条件
-
+
+