Browse Source

[Fix][UI][V1.0.0-Beta] Fix the parameter variables and startup parameters window cannot auto close bug (#9653)

3.0.0/version-upgrade
Devosend 3 years ago committed by GitHub
parent
commit
30a8372505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-toolbar.tsx

22
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-toolbar.tsx

@ -74,9 +74,6 @@ export default defineComponent({
setup(props, context) {
const { t } = useI18n()
const startupPopoverRef = ref(false)
const paramPopoverRef = ref(false)
const themeStore = useThemeStore()
const graph = inject<Ref<Graph | undefined>>('graph', ref())
@ -229,19 +226,12 @@ export default defineComponent({
<NTooltip
v-slots={{
trigger: () => (
<NPopover
show={paramPopoverRef.value}
placement='bottom'
trigger='manual'
>
<NPopover placement='bottom' trigger='click'>
{{
trigger: () => (
<NButton
quaternary
circle
onClick={() =>
(paramPopoverRef.value = !paramPopoverRef.value)
}
class={Styles['toolbar-btn']}
>
<NIcon>
@ -264,20 +254,12 @@ export default defineComponent({
<NTooltip
v-slots={{
trigger: () => (
<NPopover
show={startupPopoverRef.value}
placement='bottom'
trigger='manual'
>
<NPopover placement='bottom' trigger='click'>
{{
trigger: () => (
<NButton
quaternary
circle
onClick={() =>
(startupPopoverRef.value =
!startupPopoverRef.value)
}
class={Styles['toolbar-btn']}
>
<NIcon>

Loading…
Cancel
Save