From 8fdd10d1c2723ead1d2c3b232f64f292ba3ce1cc Mon Sep 17 00:00:00 2001 From: che_shuai <che_shuai@massclouds> Date: 星期一, 24 七月 2023 14:10:46 +0800 Subject: [PATCH] 修复在国标级联选择通道时,如果添加通道到跟平台根目录(即平台本身),无法触发目录变更事件问题.详见 https://github.com/648540858/wvp-GB28181-pro/issues/958 --- web_src/src/components/DeviceList.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/DeviceList.vue b/web_src/src/components/DeviceList.vue index bff0d1d..5375e5e 100644 --- a/web_src/src/components/DeviceList.vue +++ b/web_src/src/components/DeviceList.vue @@ -41,8 +41,8 @@ <el-table-column label="鐘舵��" min-width="120"> <template slot-scope="scope"> <div slot="reference" class="name-wrapper"> - <el-tag size="medium" v-if="scope.row.online == 1">鍦ㄧ嚎</el-tag> - <el-tag size="medium" type="info" v-if="scope.row.online == 0">绂荤嚎</el-tag> + <el-tag size="medium" v-if="scope.row.onLine">鍦ㄧ嚎</el-tag> + <el-tag size="medium" type="info" v-if="!scope.row.onLine">绂荤嚎</el-tag> </div> </template> </el-table-column> -- Gitblit v1.8.0