mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
fix: demo
This commit is contained in:
parent
d709d41d00
commit
c6e9e9ba79
@ -117,6 +117,10 @@ export class TableColumnModel extends FieldModel {
|
||||
render() {
|
||||
return (value, record, index) => (
|
||||
<>
|
||||
<div>
|
||||
{this.componentProps.prefix}
|
||||
{this.componentProps.suffix}
|
||||
</div>
|
||||
<Demo value={value} model={this} />
|
||||
{this.renderQuickEditButton(record)}
|
||||
</>
|
||||
@ -179,7 +183,8 @@ TableColumnModel.registerFlow({
|
||||
},
|
||||
},
|
||||
handler(ctx, params) {
|
||||
ctx.model.setComponentProps(params);
|
||||
ctx.model.componentProps.prefix = params.prefix || '';
|
||||
ctx.model.componentProps.suffix = params.suffix || '';
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user