fix: 修复新版本插件市场出现插件显示为空白的 bug;纠正已安装插件卡片的排版,统一大小 (#5309)
* fix(ExtensionCard): 解决插件卡片大小不统一的问题 * fix(MarketPluginCard): 解决插件市场不加载插件的问题 (#5303)
This commit is contained in:
@@ -27,6 +27,10 @@ const normalizePlatformList = (platforms) => {
|
|||||||
return platforms.filter((item) => typeof item === "string");
|
return platforms.filter((item) => typeof item === "string");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const platformDisplayList = computed(() =>
|
||||||
|
normalizePlatformList(props.plugin?.support_platforms),
|
||||||
|
);
|
||||||
|
|
||||||
const handleInstall = (plugin) => {
|
const handleInstall = (plugin) => {
|
||||||
emit("install", plugin);
|
emit("install", plugin);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -108,8 +108,9 @@ const viewChangelog = () => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<v-card
|
<v-card
|
||||||
class="mx-auto d-flex flex-column"
|
class="mx-auto d-flex flex-column h-100"
|
||||||
elevation="0"
|
elevation="0"
|
||||||
|
height="100%"
|
||||||
:style="{
|
:style="{
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
|
|||||||
Reference in New Issue
Block a user