feat(组件): --no-spark时不展示 Spark 应用管理

在InstalledAppsModal和AppSidebar组件中添加storeFilter属性,用于控制不同应用商店的显示逻辑
This commit is contained in:
2026-04-05 11:53:12 +08:00
parent 8be9e1a6cb
commit bcae531387
3 changed files with 6 additions and 1 deletions

View File

@@ -28,6 +28,7 @@
</div>
<div class="flex items-center gap-3">
<div
v-if="storeFilter === 'both'"
class="flex items-center rounded-2xl border border-slate-200/70 p-1 dark:border-slate-800/70"
>
<button
@@ -181,6 +182,7 @@ defineProps<{
loading: boolean;
error: string;
activeOrigin: "apm" | "spark";
storeFilter: "spark" | "apm" | "both";
}>();
defineEmits<{