mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
feat(组件): --no-spark时不展示 Spark 应用管理
在InstalledAppsModal和AppSidebar组件中添加storeFilter属性,用于控制不同应用商店的显示逻辑
This commit is contained in:
@@ -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<{
|
||||
|
||||
Reference in New Issue
Block a user