mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
feat: support setting sequence as the title field for calendar block (#6562)
This commit is contained in:
parent
46a3816d83
commit
cded825bda
@ -15,6 +15,9 @@ export class PluginFieldSequenceClient extends Plugin {
|
||||
async load() {
|
||||
this.app.use(SequenceFieldProvider);
|
||||
this.app.dataSourceManager.addFieldInterfaces([SequenceFieldInterface]);
|
||||
const calendarPlugin: any = this.app.pm.get('calendar');
|
||||
// 注册标题字段
|
||||
calendarPlugin.registerTitleFieldInterface('sequence');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user