From b0088b8bd38c7ddc0c3f88fb2c8485d44e9a6ddb Mon Sep 17 00:00:00 2001
From: Lawrence <1934378145@qq.com>
Date: 星期五, 22 一月 2021 15:36:23 +0800
Subject: [PATCH] 修正不支持的method处理错误

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

diff --git a/web_src/src/components/videoList.vue b/web_src/src/components/videoList.vue
index 46b4aac..01dae2c 100644
--- a/web_src/src/components/videoList.vue
+++ b/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>
@@ -134,7 +134,7 @@
 				this.getDeviceListLoading = true;
 				this.$axios.get(`/api/devices`,{
 					params: {
-						page: that.currentPage - 1,
+						page: that.currentPage,
 						count: that.count
 					}
 				} )

--
Gitblit v1.8.0