mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
eda2ce0ce4
@ -15,6 +15,9 @@ export class PluginFieldSequenceClient extends Plugin {
|
|||||||
async load() {
|
async load() {
|
||||||
this.app.use(SequenceFieldProvider);
|
this.app.use(SequenceFieldProvider);
|
||||||
this.app.dataSourceManager.addFieldInterfaces([SequenceFieldInterface]);
|
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