refactor(PageContent): ♻️ 支持图片显示

This commit is contained in:
cshaptx4869
2024-05-10 21:21:22 +08:00
parent 0b181b334b
commit a60de1457f
3 changed files with 32 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ const contentConfig: IContentConfig<UserQuery> = {
{ type: "selection", width: 50, align: "center" },
{ label: "编号", align: "center", prop: "id", width: 100 },
{ label: "用户名", align: "center", prop: "username" },
{ label: "头像", align: "center", prop: "avatar", templet: "image" },
{ label: "用户昵称", align: "center", prop: "nickname", width: 120 },
{ label: "性别", align: "center", prop: "genderLabel", width: 100 },
{ label: "部门", align: "center", prop: "deptName", width: 120 },