From c992e66812f0deafce1e50dd54b927034cfeae22 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期五, 22 四月 2022 16:18:30 +0800 Subject: [PATCH] 开通接口 --- src/Pool/VideoRuleData.ts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/Pool/VideoRuleData.ts b/src/Pool/VideoRuleData.ts index 5824a73..a49fec8 100644 --- a/src/Pool/VideoRuleData.ts +++ b/src/Pool/VideoRuleData.ts @@ -63,11 +63,13 @@ ] this.selectResolution = '1002' this.hasCtrlC = false + } public async update() { await this.getInfo(); await this.getSceneRule(); + await this.getPolygon(); } @@ -146,5 +148,7 @@ this.dealWay = rsp.data.cameraInfo.run_type === 1 ? true : false this.runServerName = rsp.data.cameraInfo.runServerName } + + } } -- Gitblit v1.8.0