feat: add inline switch toggle for account status in user list

This commit is contained in:
2026-05-21 10:01:58 +08:00
parent 4c3becf33e
commit 8bb7b5d30a
2 changed files with 25 additions and 8 deletions
+2 -2
View File
@@ -43,8 +43,8 @@
</el-tabs>
<el-table :data="tableData" v-loading="loading">
<el-table-column prop="id" label="ID" width="80" />
<el-table-column prop="title" label="标题" min-width="150" />
<!-- <el-table-column prop="id" label="ID" width="80" /> -->
<el-table-column prop="title" label="标题" min-width="80" />
<el-table-column label="预览" width="100">
<template #default="{ row }">
<el-image v-if="row.type == 1" :src="row.file_url" style="width: 50px; height: 50px;" :preview-src-list="[row.file_url]" preview-teleported />