mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
chore: 插件编辑器
This commit is contained in:
@@ -26,6 +26,11 @@ export class PluginService extends BaseService<PluginEntity> {
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
async page(pageReq: PageReq<PluginEntity>) {
|
||||
|
||||
if(pageReq.query.type && pageReq.query.type !=='builtIn'){
|
||||
return await super.page(pageReq);
|
||||
}
|
||||
|
||||
const builtInList = await this.getBuiltInEntityList();
|
||||
return {
|
||||
records: builtInList,
|
||||
|
||||
Reference in New Issue
Block a user