🐛 Fix(custom): fix piclist picbed bugs

ISSUES CLOSED: #236
This commit is contained in:
Kuingsmile
2024-08-20 14:09:21 +08:00
parent a046b4047e
commit 893da24cae
3 changed files with 7 additions and 5 deletions

View File

@@ -6,6 +6,8 @@ export default class PiclistApi {
static async delete(configMap: IStringKeyMap): Promise<boolean> {
const { config, fullResult } = configMap
const { host, port } = config
if (!fullResult) return true
if (!host) {
deleteLog(fullResult, 'Piclist', false, 'PiclistApi.delete: invalid params')
return false