refactor(layout): 调整工作流节点和全局头部组件- 修改工作流节点组件中的条件判断逻辑

- 在全局头部组件中注释掉部分按钮以隐藏其功能
- 调整主题设置中的底部栏可见性
This commit is contained in:
csc 2025-06-22 14:36:36 +08:00
parent 55c9130d18
commit 8a9b1ce813
3 changed files with 4 additions and 2 deletions

View File

@ -132,7 +132,7 @@ const detailDrawer = ref<boolean[]>([]);
const showDetail = (node: Workflow.ConditionNodeType, detailIndex: number) => {
detailIds.value = [];
if (store.type === 4) {
if (store.type === 2) {
node.jobBatchList
?.sort((a, b) => a.taskBatchStatus - b.taskBatchStatus)
.forEach(item => {

View File

@ -45,6 +45,7 @@ const href = (url: string) => {
<div class="h-full flex-y-center justify-end">
<NamespaceSelect />
<GlobalSearch />
<!--
<ButtonIcon
v-if="!appStore.isMobile"
class="color-#c71d23 xl:block sm:hidden"
@ -66,6 +67,7 @@ const href = (url: string) => {
icon="material-symbols:unknown-document-outline"
@click="href('https://snailjob.opensnail.com/')"
/>
-->
<FullScreen v-if="!appStore.isMobile" class="xl:block sm:hidden" :full="isFullscreen" @click="toggle" />
<LangSwitch
v-if="themeStore.header.multilingual.visible"

View File

@ -48,7 +48,7 @@ export const themeSettings: App.Theme.ThemeSetting = {
mixChildMenuWidth: 200
},
footer: {
visible: true,
visible: false,
fixed: false,
height: 48,
right: true