Browse Source

[Fix-8715][UI Next][V1.0.0-Alpha] Worked out this issue with missing some data in the form of a task when continuously clicking the same task node. (#8742)

3.0.0/version-upgrade
calvin 2 years ago committed by GitHub
parent
commit
6e2c2adcaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      dolphinscheduler-ui-next/src/views/projects/task/components/node/detail-modal.tsx

15
dolphinscheduler-ui-next/src/views/projects/task/components/node/detail-modal.tsx

@ -23,7 +23,8 @@ import {
watch,
nextTick,
provide,
computed
computed,
onMounted
} from 'vue'
import { useI18n } from 'vue-i18n'
import { omit } from 'lodash'
@ -102,12 +103,12 @@ const NodeDetailModal = defineComponent({
)
watch(
() => props.data,
async () => {
if (!props.show) return
await nextTick()
detailRef.value.value.setValues(formatModel(props.data))
}
() => [props.show, props.data],
async () => {
if (!props.show) return
await nextTick()
detailRef.value.value.setValues(formatModel(props.data))
}
)
return () => (

Loading…
Cancel
Save