Browse Source

频道管理 定制频道

DESKTOP-O04BTUJ\muzen 3 years ago
parent
commit
aa23c0339f
1 changed files with 2 additions and 7 deletions
  1. 2 7
      src/views/channel/custom/detail.vue

+ 2 - 7
src/views/channel/custom/detail.vue

@@ -67,7 +67,7 @@
         </el-form-item>
       </el-form>
       <!-- 列表 -->
-      <el-table :data="dialogData" height="476" ref="table" :row-key="rowKey" @selection-change="getChange">
+      <el-table :data="dialogData" height="476" ref="table" :row-key="getRowKey" @selection-change="getChange">
         <el-table-column type="selection" />
         <el-table-column label="内容ID" prop="id" align="center" />
         <el-table-column label="音频名称" prop="audioName" align="center" />
@@ -152,11 +152,6 @@ export default {
 
     // 可选全部频道内容列表
     getPage() {
-      // 分类
-      channelTemplate(this.data).then(res => {
-        console.log(res);
-      })
-
       channelList({
         ...this.data,
         ...this.dialogForm
@@ -218,7 +213,7 @@ export default {
       })
     },
 
-    rowKey(row) {
+    getRowKey(row) {
       return row.id
     },
     // 表格多选