Browse Source

[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.
3.1.0-release
songjianet 2 years ago committed by GitHub
parent
commit
de6e58ec1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts
  2. 8
      dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss
  3. 2
      dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts
  4. 1
      dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts

2
dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts

@ -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: () => [

8
dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss

@ -72,14 +72,6 @@
margin-top: 20px;
}
.operation {
> div {
> div {
margin-right: 5px !important;
}
}
}
.startup {
align-items: center;
> div:first-child {

2
dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts

@ -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: () => [

1
dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts

@ -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…
Cancel
Save