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">
// TODO @
import type { Ref } from 'vue';
import type { SimpleFlowNode } from '../../consts';

View File

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

View File

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