Skip to content

Commit 02c1443

Browse files
authored
fix: 修复新版本插件市场出现插件显示为空白的 bug;纠正已安装插件卡片的排版,统一大小 (#5309)
* fix(ExtensionCard): 解决插件卡片大小不统一的问题 * fix(MarketPluginCard): 解决插件市场不加载插件的问题 (#5303
1 parent 79301f1 commit 02c1443

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

dashboard/src/components/extension/MarketPluginCard.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ const normalizePlatformList = (platforms) => {
2727
return platforms.filter((item) => typeof item === "string");
2828
};
2929
30+
const platformDisplayList = computed(() =>
31+
normalizePlatformList(props.plugin?.support_platforms),
32+
);
33+
3034
const handleInstall = (plugin) => {
3135
emit("install", plugin);
3236
};

dashboard/src/components/shared/ExtensionCard.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,9 @@ const viewChangelog = () => {
108108

109109
<template>
110110
<v-card
111-
class="mx-auto d-flex flex-column"
111+
class="mx-auto d-flex flex-column h-100"
112112
elevation="0"
113+
height="100%"
113114
:style="{
114115
position: 'relative',
115116
backgroundColor:

0 commit comments

Comments
 (0)