From a004a978fa54779425d7498b4737c970b8c71f7b Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: 星期日, 11 四月 2021 22:32:28 +0800 Subject: [PATCH] 规范api --- web_src/src/components/PushVideoList.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web_src/src/components/PushVideoList.vue b/web_src/src/components/PushVideoList.vue index 0955cc9..3e155c2 100644 --- a/web_src/src/components/PushVideoList.vue +++ b/web_src/src/components/PushVideoList.vue @@ -15,8 +15,6 @@ </el-table-column> <el-table-column prop="stream" label="娴両D" width="240" align="center"> </el-table-column> - <el-table-column prop="totalReaderCount" label="鍦ㄧ嚎浜烘暟" width="240" align="center"> - </el-table-column> <el-table-column prop="gbId" label="鍥芥爣缂栫爜" width="150" align="center"> </el-table-column> <el-table-column label="寮�濮嬫椂闂�" align="center" > @@ -28,7 +26,7 @@ </el-table-column> <el-table-column label="姝e湪鎺ㄦ祦" align="center" > <template slot-scope="scope"> - {{!!scope.row.status?'鏄�':'鍚�'}} + {{(scope.row.status == false && scope.row.gbId == null) || scope.row.status ?'鏄�':'鍚�'}} </template> </el-table-column> @@ -157,7 +155,7 @@ }, removeFromGB: function(row){ var that = this; - that.$axios.post(`/api/push/removeFormGB`, row) + that.$axios.post(`/api/push/remove_form_gb`, row) .then(function (res) { console.log(res); console.log(res.data == "success"); -- Gitblit v1.8.0