mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
b1eda23558
@ -26,7 +26,7 @@ export class ViewCollection extends Collection {
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
return ['create', 'update', 'destroy'];
|
return ['create', 'update', 'destroy', 'importXlsx', 'destroyMany', 'updateMany'];
|
||||||
}
|
}
|
||||||
|
|
||||||
protected sequelizeModelOptions(): any {
|
protected sequelizeModelOptions(): any {
|
||||||
|
@ -34,7 +34,7 @@ export class PluginActionImportClient extends Plugin {
|
|||||||
skipScopeCheck: true,
|
skipScopeCheck: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
useVisible: () => useActionAvailable('import'),
|
useVisible: () => useActionAvailable('importXlsx'),
|
||||||
};
|
};
|
||||||
|
|
||||||
const tableActionInitializers = this.app.schemaInitializerManager.get('table:configureActions');
|
const tableActionInitializers = this.app.schemaInitializerManager.get('table:configureActions');
|
||||||
|
@ -42,7 +42,7 @@ export class SQLCollection extends Collection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unavailableActions(): Array<string> {
|
unavailableActions(): Array<string> {
|
||||||
return ['create', 'update', 'destroy'];
|
return ['create', 'update', 'destroy', 'importXlsx', 'destroyMany', 'updateMany'];
|
||||||
}
|
}
|
||||||
|
|
||||||
public collectionSchema() {
|
public collectionSchema() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user