feat: 基础版不再限制流水线数量

This commit is contained in:
xiaojunnuo
2024-12-23 23:33:13 +08:00
parent bb4910f4e5
commit cb27d4b490
16 changed files with 158 additions and 62 deletions
@@ -23,8 +23,10 @@
</a-tag>
</a-badge>
</template>
<a-divider type="vertical" />
<suite-card class="m-0"></suite-card>
<template v-if="settingsStore.isComm">
<a-divider type="vertical" />
<suite-card class="m-0"></suite-card>
</template>
</div>
</div>
</div>
@@ -92,7 +94,7 @@
<a-row :gutter="10">
<a-col v-for="item of pluginGroups.groups.all.plugins" :key="item.name" class="plugin-item-col" :span="4">
<a-card>
<a-tooltip :title="item.desc">
<a-tooltip :title="item.desc" class="flex-between">
<div class="plugin-item pointer">
<div class="icon">
<fs-icon :icon="item.icon" class="font-size-16 color-blue" />
@@ -101,6 +103,7 @@
<div class="title">{{ item.title }}</div>
</div>
</div>
<div class="flex-o"><vip-button v-if="item.needPlus" mode="icon" class="" /></div>
</a-tooltip>
</a-card>
</a-col>
@@ -158,7 +161,7 @@ const settingStore = useSettingStore();
const siteInfo: Ref<SiteInfo> = computed(() => {
return settingStore.siteInfo;
});
const settingsStore = useSettingStore();
const userStore = useUserStore();
const userInfo: ComputedRef<UserInfoRes> = computed(() => {
return userStore.getUserInfo;
@@ -1,5 +1,5 @@
<template>
<div class="my-suite-card">
<div v-if="detail.enabled" class="my-suite-card">
<div class="flex-o">
<a-popover>
<template #content>
@@ -52,6 +52,7 @@ type SuiteValue = {
used: number;
};
type SuiteDetail = {
enabled?: boolean;
suites?: any[];
expiresTime?: number;
pipelineCount?: SuiteValue;