diff --git a/package.json b/package.json index eb798b378..8d76da93e 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@formkit/inputs": "^1.0.0-beta.11", "@formkit/themes": "^1.0.0-beta.11", "@formkit/vue": "^1.0.0-beta.11", - "@halo-dev/api-client": "^0.0.40", + "@halo-dev/api-client": "^0.0.41", "@halo-dev/components": "workspace:*", "@halo-dev/console-shared": "workspace:*", "@halo-dev/richtext-editor": "^0.0.0-alpha.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2f7cbda94..a1b0ff344 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: '@formkit/inputs': ^1.0.0-beta.11 '@formkit/themes': ^1.0.0-beta.11 '@formkit/vue': ^1.0.0-beta.11 - '@halo-dev/api-client': ^0.0.40 + '@halo-dev/api-client': ^0.0.41 '@halo-dev/components': workspace:* '@halo-dev/console-shared': workspace:* '@halo-dev/richtext-editor': ^0.0.0-alpha.8 @@ -108,7 +108,7 @@ importers: '@formkit/inputs': 1.0.0-beta.11 '@formkit/themes': 1.0.0-beta.11_tailwindcss@3.2.1 '@formkit/vue': 1.0.0-beta.11_vjnbgdptsk6bkj7ab5a6mk2cwm - '@halo-dev/api-client': 0.0.40 + '@halo-dev/api-client': 0.0.41 '@halo-dev/components': link:packages/components '@halo-dev/console-shared': link:packages/shared '@halo-dev/richtext-editor': 0.0.0-alpha.8_vue@3.2.41 @@ -1953,8 +1953,8 @@ packages: - windicss dev: false - /@halo-dev/api-client/0.0.40: - resolution: {integrity: sha512-SsB+PZkoCwp0cGKGQY+x2oDWiZDwHYH9nytN28b+kY+HnWmNIWgMT64ZnHoHxOnk44m9S9byxwkkvlOamby0AQ==} + /@halo-dev/api-client/0.0.41: + resolution: {integrity: sha512-YpwoIyT+6BjNEfhQqZPSG7dewmC9AE7wxc/uaIRcVZdKr0C4GLmbiBKGOFFnVWIYr42islhMWjqYCGaiJSzkUg==} dev: false /@halo-dev/richtext-editor/0.0.0-alpha.8_vue@3.2.41: diff --git a/src/components/global-search/GlobalSearchModal.vue b/src/components/global-search/GlobalSearchModal.vue index dc9d8b346..cb88c5a6d 100644 --- a/src/components/global-search/GlobalSearchModal.vue +++ b/src/components/global-search/GlobalSearchModal.vue @@ -105,7 +105,7 @@ const handleBuildSearchIndex = () => { fuse.add({ title: plugin.spec.displayName as string, icon: { - src: plugin.spec.logo as string, + src: plugin.status?.logo as string, }, group: "插件", route: { diff --git a/src/modules/system/plugins/components/PluginListItem.vue b/src/modules/system/plugins/components/PluginListItem.vue index e2d3c152d..18c04c0bf 100644 --- a/src/modules/system/plugins/components/PluginListItem.vue +++ b/src/modules/system/plugins/components/PluginListItem.vue @@ -53,7 +53,7 @@ const onUpgradeModalClose = () => { diff --git a/src/modules/system/plugins/layouts/PluginLayout.vue b/src/modules/system/plugins/layouts/PluginLayout.vue index bdae8f20b..8277f3c56 100644 --- a/src/modules/system/plugins/layouts/PluginLayout.vue +++ b/src/modules/system/plugins/layouts/PluginLayout.vue @@ -149,7 +149,7 @@ watch([() => route.name, () => route.params], () => {