[Fix][UI] Fix the problem of too large spacing in operation. (#11090)
* [Fix][UI] Fix the problem of too large spacing in operation. * [Fix][UI] Fix the problem of too large spacing in operation.
This commit is contained in:
parent
9164ec8bf1
commit
8581a464db
|
|
@ -25,7 +25,6 @@ import {
|
|||
} from '@/service/modules/process-definition'
|
||||
import { DeleteOutlined, ExclamationCircleOutlined } from '@vicons/antd'
|
||||
import { NSpace, NTooltip, NButton, NPopconfirm, NTag } from 'naive-ui'
|
||||
import styles from '../index.module.scss'
|
||||
import type { Router } from 'vue-router'
|
||||
import type { TableColumns } from 'naive-ui/es/data-table/src/interface'
|
||||
|
||||
|
|
@ -86,7 +85,6 @@ export function useTable(
|
|||
variables.columns.push({
|
||||
title: t('project.workflow.operation'),
|
||||
key: 'operation',
|
||||
className: styles.operation,
|
||||
render: (_row: any) => {
|
||||
return h(NSpace, null, {
|
||||
default: () => [
|
||||
|
|
|
|||
|
|
@ -72,14 +72,6 @@
|
|||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.operation {
|
||||
> div {
|
||||
> div {
|
||||
margin-right: 5px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.startup {
|
||||
align-items: center;
|
||||
> div:first-child {
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ import {
|
|||
} from '@/common/column-width-config'
|
||||
import { format } from 'date-fns-tz'
|
||||
import { ISearchParam } from './types'
|
||||
import styles from '../index.module.scss'
|
||||
import type { Router } from 'vue-router'
|
||||
|
||||
export function useTable() {
|
||||
|
|
@ -138,7 +137,6 @@ export function useTable() {
|
|||
title: t('project.workflow.operation'),
|
||||
key: 'operation',
|
||||
...COLUMN_WIDTH_CONFIG['operation'](3),
|
||||
className: styles.operation,
|
||||
render: (row: any) => {
|
||||
return h(NSpace, null, {
|
||||
default: () => [
|
||||
|
|
|
|||
|
|
@ -186,7 +186,6 @@ export function useTable() {
|
|||
title: t('project.workflow.operation'),
|
||||
key: 'operation',
|
||||
...COLUMN_WIDTH_CONFIG['operation'](8.5),
|
||||
className: styles.operation,
|
||||
render: (row) =>
|
||||
h(TableAction, {
|
||||
row,
|
||||
|
|
|
|||
Loading…
Reference in New Issue