mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 04:45:56 +00:00
Update custom-plugin.ts
This commit is contained in:
parent
28b73d7143
commit
9b47ba2251
@ -36,7 +36,7 @@ class MyPlugin extends Plugin {
|
||||
return 'MyPlugin';
|
||||
}
|
||||
async load() {
|
||||
app.resource({
|
||||
this.app.resource({
|
||||
name: 'test',
|
||||
actions: {
|
||||
async list(ctx) {
|
||||
|
Loading…
Reference in New Issue
Block a user