From 41a319187c10191151d44e3260eaf4b448d6f197 Mon Sep 17 00:00:00 2001 From: luobisheng <727299681@qq.com> Date: 星期三, 30 十一月 2022 16:58:33 +0800 Subject: [PATCH] 图片视频修改 --- src/views/operate/video/index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/operate/video/index.vue b/src/views/operate/video/index.vue index 1ea57cd..c6b0890 100644 --- a/src/views/operate/video/index.vue +++ b/src/views/operate/video/index.vue @@ -78,10 +78,10 @@ <template slot-scope="scope"> <div class="operation"> <span @click="handleOpera(scope.row, 'view')">鏌ョ湅</span> - <span class="line">|</span> - <span @click="handleOpera(scope.row, 'update')">淇敼</span> - <span class="line">|</span> - <span @click="handleDelete(scope.row)">鍒犻櫎</span> + <span v-if="mystatus === 2" class="line">|</span> + <span v-if="mystatus === 2" @click="handleOpera(scope.row, 'update')">淇敼</span> + <span v-if="mystatus === 2" class="line">|</span> + <span v-if="mystatus === 2" @click="handleDelete(scope.row)">鍒犻櫎</span> </div> </template> </el-table-column> @@ -300,6 +300,8 @@ }); this.mystatus = idx + 1; this.statusArr[1] = this.typeList[idx].value; + this.searchContent = this.typeList[idx].value; + this.searchVideoList(); }, // 璁剧疆琛ㄦ牸鏂戦┈绾� tableRowClassName({ row, rowIndex }) { -- Gitblit v1.8.0