review:【ANTD】【BPM 工作流】jaosn pulls #114、#116

pull/134/head
YunaiV 2025-06-07 20:25:27 +08:00
parent f6f2f65656
commit 8a17e03e6e
3 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
// TODO @
import type { Ref } from 'vue'; import type { Ref } from 'vue';
import type { SimpleFlowNode } from '../../consts'; import type { SimpleFlowNode } from '../../consts';

View File

@ -164,10 +164,10 @@ async function handleCategorySortSubmit() {
@press-enter="getList" @press-enter="getList"
class="!w-60" class="!w-60"
/> />
<Button type="primary" @click="createModel"> <Button class="ml-2" type="primary" @click="createModel">
<IconifyIcon icon="lucide:plus" /> 新建模型 <IconifyIcon icon="lucide:plus" /> 新建模型
</Button> </Button>
<Dropdown placement="bottomRight" arrow> <Dropdown class="ml-2" placement="bottomRight" arrow>
<Button> <Button>
<template #icon> <template #icon>
<IconifyIcon icon="lucide:settings" /> <IconifyIcon icon="lucide:settings" />
@ -207,7 +207,7 @@ async function handleCategorySortSubmit() {
</div> </div>
<!-- 按照分类展示其所属的模型列表 --> <!-- 按照分类展示其所属的模型列表 -->
<div class="px-5" ref="categoryGroupRef"> <div class="px-3" ref="categoryGroupRef">
<CategoryDraggableModel <CategoryDraggableModel
v-for="element in categoryGroup" v-for="element in categoryGroup"
:class="isCategorySorting ? 'cursor-move' : ''" :class="isCategorySorting ? 'cursor-move' : ''"

View File

@ -344,9 +344,9 @@ const handleRenameSuccess = () => {
v-if="!record.icon" v-if="!record.icon"
class="mr-2.5 flex h-9 w-9 items-center justify-center rounded bg-blue-500 text-white" class="mr-2.5 flex h-9 w-9 items-center justify-center rounded bg-blue-500 text-white"
> >
<span style="font-size: 12px">{{ <span style="font-size: 12px">
record.name.substring(0, 2) {{ record.name.substring(0, 2) }}
}}</span> </span>
</div> </div>
<img <img
v-else v-else