|
|
@@ -99,6 +99,14 @@ const CourseMemberListWidget = ({ courseId, onSelect }: IWidget) => {
|
|
|
description: {
|
|
|
dataIndex: "desc",
|
|
|
search: false,
|
|
|
+ render(dom, entity, index, action, schema) {
|
|
|
+ return (
|
|
|
+ <div>
|
|
|
+ {"channel:"}
|
|
|
+ {entity.channel?.name ?? "未绑定"}
|
|
|
+ </div>
|
|
|
+ );
|
|
|
+ },
|
|
|
},
|
|
|
subTitle: {
|
|
|
search: false,
|
|
|
@@ -116,16 +124,6 @@ const CourseMemberListWidget = ({ courseId, onSelect }: IWidget) => {
|
|
|
);
|
|
|
},
|
|
|
},
|
|
|
- content: {
|
|
|
- render(dom, entity, index, action, schema) {
|
|
|
- return (
|
|
|
- <div>
|
|
|
- {"channel:"}
|
|
|
- {entity.channel?.name ?? "未绑定"}
|
|
|
- </div>
|
|
|
- );
|
|
|
- },
|
|
|
- },
|
|
|
actions: {
|
|
|
search: false,
|
|
|
render: (text, row, index, action) => {
|