Browse Source

[Fix][UI Next][V1.0.0-Alpha] Change the table button size. (#8702)

3.0.0/version-upgrade
songjianet 3 years ago committed by GitHub
parent
commit
6dc4be54e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/table-action.tsx
  2. 2
      dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts

20
dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/table-action.tsx

@ -116,7 +116,7 @@ export default defineComponent({
default: () => t('project.workflow.edit'),
trigger: () => (
<NButton
size='tiny'
size='small'
type='info'
tag='div'
circle
@ -135,7 +135,7 @@ export default defineComponent({
default: () => t('project.workflow.start'),
trigger: () => (
<NButton
size='tiny'
size='small'
type='primary'
tag='div'
circle
@ -154,7 +154,7 @@ export default defineComponent({
default: () => t('project.workflow.timing'),
trigger: () => (
<NButton
size='tiny'
size='small'
type='info'
tag='div'
circle
@ -173,7 +173,7 @@ export default defineComponent({
default: () => releaseState === 'ONLINE'? t('project.workflow.down_line'):t('project.workflow.up_line'),
trigger: () => (
<NButton
size='tiny'
size='small'
type={releaseState === 'ONLINE' ? 'warning' : 'error'}
tag='div'
circle
@ -195,7 +195,7 @@ export default defineComponent({
default: () => t('project.workflow.copy_workflow'),
trigger: () => (
<NButton
size='tiny'
size='small'
type='info'
tag='div'
circle
@ -214,7 +214,7 @@ export default defineComponent({
default: () => t('project.workflow.cron_manage'),
trigger: () => (
<NButton
size='tiny'
size='small'
type='info'
tag='div'
circle
@ -233,7 +233,7 @@ export default defineComponent({
default: () => t('project.workflow.delete'),
trigger: () => (
<NButton
size='tiny'
size='small'
type='error'
tag='div'
circle
@ -263,7 +263,7 @@ export default defineComponent({
default: () => t('project.workflow.tree_view'),
trigger: () => (
<NButton
size='tiny'
size='small'
type='info'
tag='div'
circle
@ -281,7 +281,7 @@ export default defineComponent({
default: () => t('project.workflow.export'),
trigger: () => (
<NButton
size='tiny'
size='small'
type='info'
tag='div'
circle
@ -299,7 +299,7 @@ export default defineComponent({
default: () => t('project.workflow.version_info'),
trigger: () => (
<NButton
size='tiny'
size='small'
type='info'
tag='div'
circle

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

@ -146,7 +146,7 @@ export function useTable() {
{
title: t('project.workflow.operation'),
key: 'operation',
width: 300,
width: 360,
fixed: 'right',
className: styles.operation,
render: (row) =>

Loading…
Cancel
Save