Przeglądaj źródła

fix(Publish): Bug 6146 - 发布管理列表账号字段拆分,新增平台列单独展示平台信息

ethanfly 4 dni temu
rodzic
commit
b3c162ebd0
1 zmienionych plików z 7 dodań i 2 usunięć
  1. 7 2
      client/src/views/Publish/index.vue

+ 7 - 2
client/src/views/Publish/index.vue

@@ -37,7 +37,7 @@
           </template>
         </el-table-column>
         
-        <el-table-column label="目标账号" min-width="220">
+        <el-table-column label="目标账号" min-width="160">
           <template #default="{ row }">
             <span>{{ row.targetAccounts?.length || 0 }} 个</span>
             <template v-if="row.successCount !== undefined || row.failCount !== undefined">
@@ -48,11 +48,16 @@
                 ✗ {{ row.failCount }}
               </el-tag>
             </template>
+          </template>
+        </el-table-column>
+
+        <el-table-column label="平台" min-width="140">
+          <template #default="{ row }">
             <el-tag
               v-for="platform in getTaskPlatforms(row)"
               :key="platform"
               size="small"
-              style="margin-left: 4px"
+              style="margin-right: 4px"
             >
               {{ getPlatformName(platform) }}
             </el-tag>