feat: 抽奖增加用户头像显示
This commit is contained in:
@@ -87,6 +87,13 @@ const tableColumns = [
|
||||
label: '姓名',
|
||||
props: 'name',
|
||||
},
|
||||
{
|
||||
label: '头像',
|
||||
props: 'avatar',
|
||||
formatValue(row: any) {
|
||||
return row.avatar ? `<img src="${row.avatar}" alt="avatar" style="width: 50px; height: 50px;"/>` : '-';
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '部门',
|
||||
props: 'department',
|
||||
|
||||
@@ -33,6 +33,13 @@ const tableColumnsList = [
|
||||
label: '姓名',
|
||||
props: 'name',
|
||||
},
|
||||
{
|
||||
label: '头像',
|
||||
props: 'avatar',
|
||||
formatValue(row: any) {
|
||||
return row.avatar ? `<img src="${row.avatar}" alt="avatar" style="width: 50px; height: 50px;"/>` : '-';
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '部门',
|
||||
props: 'department',
|
||||
@@ -69,6 +76,13 @@ const tableColumnsDetail = [
|
||||
label: '姓名',
|
||||
props: 'name',
|
||||
},
|
||||
{
|
||||
label: '头像',
|
||||
props: 'avatar',
|
||||
formatValue(row: any) {
|
||||
return row.avatar ? `<img src="${row.avatar}" alt="avatar" style="width: 50px; height: 50px;"/>` : '-';
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '部门',
|
||||
props: 'department',
|
||||
|
||||
Reference in New Issue
Block a user