fix(style): fix
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
"use client"
|
||||
|
||||
import { getTaskWorkFlow } from "@/components/label/api/task"
|
||||
import { SettingDataTable } from "@/components/setting/PageSurface"
|
||||
import { Button, Group, Modal, ScrollArea, Stack, Text } from "@mantine/core"
|
||||
import { notifications } from "@mantine/notifications"
|
||||
import { DataTable, DataTableColumn } from "mantine-datatable"
|
||||
import { DataTableColumn } from "mantine-datatable"
|
||||
import { useEffect, useMemo, useState } from "react"
|
||||
import TaskStatusTag from "./TaskStatusTag"
|
||||
|
||||
@@ -139,15 +140,13 @@ export default function WorkflowModal(props: {
|
||||
size={720}>
|
||||
<Stack gap="sm">
|
||||
<ScrollArea h={360} type="auto">
|
||||
<DataTable<WorkflowRow>
|
||||
withTableBorder
|
||||
withRowBorders
|
||||
<SettingDataTable<WorkflowRow>
|
||||
pinLastColumn
|
||||
fetching={loading}
|
||||
idAccessor="__rowId"
|
||||
records={rows}
|
||||
width={Math.max(columns.length * 140, 640)}
|
||||
columns={columns}
|
||||
noRecordsText={loading ? "加载中..." : "暂无数据"}
|
||||
minHeight={220}
|
||||
/>
|
||||
</ScrollArea>
|
||||
|
||||
Reference in New Issue
Block a user