From f52be3039975b41f24f8df02b71b60911aa7c63a Mon Sep 17 00:00:00 2001
From: walkTtalk <irwenjing@gmail.com>
Date: 星期六, 26 二月 2022 00:01:35 +0800
Subject: [PATCH] Fix issue #347: 修改前端启动报错

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

diff --git a/web_src/src/components/dialog/chooseChannelForGb.vue b/web_src/src/components/dialog/chooseChannelForGb.vue
index 95c78f7..50a495a 100644
--- a/web_src/src/components/dialog/chooseChannelForGb.vue
+++ b/web_src/src/components/dialog/chooseChannelForGb.vue
@@ -43,8 +43,8 @@
         <el-table-column label="鎿嶄綔" width="100" align="center" fixed="right">
           <template slot-scope="scope">
             <el-button-group>
-              <el-button size="mini" icon="el-icon-plus" v-if="!scope.row.platformId" @click="add(scope.row)">娣诲姞</el-button>
-              <el-button size="mini" icon="el-icon-delete" v-if="scope.row.platformId" type="danger" @click="remove(scope.row)">绉婚櫎</el-button>
+              <el-button size="mini" icon="el-icon-plus" v-if="catalogId === null" @click="add(scope.row)">娣诲姞</el-button>
+              <el-button size="mini" icon="el-icon-delete" v-if="catalogId !== null" type="danger" @click="remove(scope.row)">绉婚櫎</el-button>
             </el-button-group>
           </template>
         </el-table-column>

--
Gitblit v1.8.0