Browse Source

离线设备禁用通道查看,避免后续无效操作

Lawrence 4 years ago
parent
commit
b0b924ee71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web_src/src/components/videoList.vue

+ 1 - 1
web_src/src/components/videoList.vue

@@ -52,7 +52,7 @@
 					<el-table-column label="操作" width="240" align="center" fixed="right">
 						<template slot-scope="scope">
 							<el-button size="mini" :ref="scope.row.deviceId + 'refbtn' " icon="el-icon-refresh"  @click="refDevice(scope.row)">刷新通道</el-button>
-							<el-button size="mini" icon="el-icon-s-open"  type="primary" @click="showChannelList(scope.row)">查看通道</el-button>
+							<el-button size="mini" icon="el-icon-s-open" v-bind:disabled="scope.row.online==0"  type="primary" @click="showChannelList(scope.row)">查看通道</el-button>
 						</template>
 					</el-table-column>
 				</el-table>