Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fix the Workflow instance table action button is too small to click. (#8721)

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

14
dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/table-action.tsx

@ -113,7 +113,7 @@ export default defineComponent({
trigger: () => ( trigger: () => (
<NButton <NButton
tag='div' tag='div'
size='tiny' size='small'
type='info' type='info'
circle circle
disabled={ disabled={
@ -139,7 +139,7 @@ export default defineComponent({
return ( return (
<NButton <NButton
tag='div' tag='div'
size='tiny' size='small'
type='info' type='info'
circle circle
onClick={this.handleReRun} onClick={this.handleReRun}
@ -169,7 +169,7 @@ export default defineComponent({
trigger: () => ( trigger: () => (
<NButton <NButton
tag='div' tag='div'
size='tiny' size='small'
type='primary' type='primary'
circle circle
onClick={this.handleReStore} onClick={this.handleReStore}
@ -195,7 +195,7 @@ export default defineComponent({
trigger: () => ( trigger: () => (
<NButton <NButton
tag='div' tag='div'
size='tiny' size='small'
type='error' type='error'
circle circle
onClick={this.handleStop} onClick={this.handleStop}
@ -224,7 +224,7 @@ export default defineComponent({
trigger: () => ( trigger: () => (
<NButton <NButton
tag='div' tag='div'
size='tiny' size='small'
type='warning' type='warning'
circle circle
disabled={ disabled={
@ -250,7 +250,7 @@ export default defineComponent({
trigger: () => ( trigger: () => (
<NButton <NButton
tag='div' tag='div'
size='tiny' size='small'
type='error' type='error'
circle circle
disabled={ disabled={
@ -286,7 +286,7 @@ export default defineComponent({
trigger: () => ( trigger: () => (
<NButton <NButton
tag='div' tag='div'
size='tiny' size='small'
type='info' type='info'
circle circle
disabled={this.row?.disabled} disabled={this.row?.disabled}

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

@ -198,7 +198,7 @@ export function useTable() {
{ {
title: t('project.workflow.operation'), title: t('project.workflow.operation'),
key: 'operation', key: 'operation',
width: 220, width: 250,
fixed: 'right', fixed: 'right',
className: styles.operation, className: styles.operation,
render: (_row: IWorkflowInstance, index: number) => render: (_row: IWorkflowInstance, index: number) =>

Loading…
Cancel
Save