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'), default: () => t('project.workflow.edit'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type='info' type='info'
tag='div' tag='div'
circle circle
@ -135,7 +135,7 @@ export default defineComponent({
default: () => t('project.workflow.start'), default: () => t('project.workflow.start'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type='primary' type='primary'
tag='div' tag='div'
circle circle
@ -154,7 +154,7 @@ export default defineComponent({
default: () => t('project.workflow.timing'), default: () => t('project.workflow.timing'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type='info' type='info'
tag='div' tag='div'
circle circle
@ -173,7 +173,7 @@ export default defineComponent({
default: () => releaseState === 'ONLINE'? t('project.workflow.down_line'):t('project.workflow.up_line'), default: () => releaseState === 'ONLINE'? t('project.workflow.down_line'):t('project.workflow.up_line'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type={releaseState === 'ONLINE' ? 'warning' : 'error'} type={releaseState === 'ONLINE' ? 'warning' : 'error'}
tag='div' tag='div'
circle circle
@ -195,7 +195,7 @@ export default defineComponent({
default: () => t('project.workflow.copy_workflow'), default: () => t('project.workflow.copy_workflow'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type='info' type='info'
tag='div' tag='div'
circle circle
@ -214,7 +214,7 @@ export default defineComponent({
default: () => t('project.workflow.cron_manage'), default: () => t('project.workflow.cron_manage'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type='info' type='info'
tag='div' tag='div'
circle circle
@ -233,7 +233,7 @@ export default defineComponent({
default: () => t('project.workflow.delete'), default: () => t('project.workflow.delete'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type='error' type='error'
tag='div' tag='div'
circle circle
@ -263,7 +263,7 @@ export default defineComponent({
default: () => t('project.workflow.tree_view'), default: () => t('project.workflow.tree_view'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type='info' type='info'
tag='div' tag='div'
circle circle
@ -281,7 +281,7 @@ export default defineComponent({
default: () => t('project.workflow.export'), default: () => t('project.workflow.export'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type='info' type='info'
tag='div' tag='div'
circle circle
@ -299,7 +299,7 @@ export default defineComponent({
default: () => t('project.workflow.version_info'), default: () => t('project.workflow.version_info'),
trigger: () => ( trigger: () => (
<NButton <NButton
size='tiny' size='small'
type='info' type='info'
tag='div' tag='div'
circle 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'), title: t('project.workflow.operation'),
key: 'operation', key: 'operation',
width: 300, width: 360,
fixed: 'right', fixed: 'right',
className: styles.operation, className: styles.operation,
render: (row) => render: (row) =>

Loading…
Cancel
Save