From c56258ba8ae5e1975eb4cf7daa220a4c748b1115 Mon Sep 17 00:00:00 2001
From: ljm <1271952916@qq.com>
Date: 星期二, 01 十一月 2022 17:25:47 +0800
Subject: [PATCH] 【同步设备通道】第一次收到同步请求应该将通道放入 不然会造成通道数量不一致 同步时也会漏掉第一个通道

---
 web_src/src/components/dialog/SyncChannelProgress.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web_src/src/components/dialog/SyncChannelProgress.vue b/web_src/src/components/dialog/SyncChannelProgress.vue
index 5506d83..c972a46 100644
--- a/web_src/src/components/dialog/SyncChannelProgress.vue
+++ b/web_src/src/components/dialog/SyncChannelProgress.vue
@@ -57,7 +57,7 @@
         method: 'get',
         url:`/api/device/query/${this.deviceId}/sync_status/`,
       }).then((res) => {
-        if (res.data.code == 0) {
+        if (res.data.code === 0) {
           if (!this.syncFlag) {
             this.syncFlag = true;
           }

--
Gitblit v1.8.0