From a1b6e56427fa7279e65afc880b7124c6cf289177 Mon Sep 17 00:00:00 2001 From: mk1990 <153958232@qq.com> Date: 星期一, 28 三月 2022 10:11:13 +0800 Subject: [PATCH] 1. 修改control.vue 报Invalid prop: type check failed for prop "column". Expected Number with value 1, got String with value "1". 2. 修改control.vue Error: [vue-clipboards] Invalid value. Please use a valid value. 3. 修改DeviceList.vue 刷新时报 [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "loading" --- web_src/src/components/StreamProxyList.vue | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/web_src/src/components/StreamProxyList.vue b/web_src/src/components/StreamProxyList.vue index 27dab67..9ecb933 100644 --- a/web_src/src/components/StreamProxyList.vue +++ b/web_src/src/components/StreamProxyList.vue @@ -42,6 +42,14 @@ </el-table-column> <el-table-column prop="gbId" label="鍥芥爣缂栫爜" width="180" align="center" show-overflow-tooltip/> + <el-table-column label="鐘舵��" width="120" align="center"> + <template slot-scope="scope"> + <div slot="reference" class="name-wrapper"> + <el-tag size="medium" v-if="scope.row.status">鍦ㄧ嚎</el-tag> + <el-tag size="medium" type="info" v-if="!scope.row.status">绂荤嚎</el-tag> + </div> + </template> + </el-table-column> <el-table-column label="鍚敤" width="120" align="center"> <template slot-scope="scope"> <div slot="reference" class="name-wrapper"> @@ -50,6 +58,7 @@ </div> </template> </el-table-column> + <el-table-column prop="createTime" label="鍒涘缓鏃堕棿" align="center" width="150" show-overflow-tooltip/> <el-table-column label="杞琀LS" width="120" align="center"> <template slot-scope="scope"> <div slot="reference" class="name-wrapper"> -- Gitblit v1.8.0