mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-14 19:22:50 +00:00
完善提示
This commit is contained in:
parent
f1c789ec63
commit
93c1d4efbc
@ -144,7 +144,7 @@ export class PluginService extends BaseService {
|
|||||||
.where({ status: 1, keyName: Equal(key) })
|
.where({ status: 1, keyName: Equal(key) })
|
||||||
.getOne();
|
.getOne();
|
||||||
if (!info) {
|
if (!info) {
|
||||||
throw new CoolCommException('插件不存在或已禁用');
|
throw new CoolCommException(`插件[${key}]不存在或已禁用`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user