From 1fe240406526b9b6256664559d3d2bec9250135c Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期五, 21 十月 2022 18:38:53 +0800 Subject: [PATCH] 设备管理小样 --- src/Pool/VideoRuleData.ts | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/Pool/VideoRuleData.ts b/src/Pool/VideoRuleData.ts index 13c433c..ee17558 100644 --- a/src/Pool/VideoRuleData.ts +++ b/src/Pool/VideoRuleData.ts @@ -166,10 +166,7 @@ const rsp: any = await getLinkSceneRule({ cameraIds: [this.cameraId] }); if (rsp && rsp.success) { let rules = rsp.data.rules; - // 缁熶竴瑙勫垯缂栬緫鐨勬暟鎹粨鏋� - for (let i = 0; i < rules.length; i++) { - rules[i].group_rules = rules[i].rules; - } + rules = rsp.data.rules; this.allSceneRule = this.rules.concat(rules) } -- Gitblit v1.8.0