Browse Source

[fixbug][ui]Remove non-existent or deleted resources disabled

pull/3/MERGE
break60 4 years ago
parent
commit
ab3fc13e27
  1. 1
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/flink.vue
  2. 2
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/mr.vue
  3. 1
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue
  4. 1
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue
  5. 1
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue

1
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/flink.vue

@ -404,7 +404,6 @@
id: -1,
name: $t('No resources exist'),
fullName: '/'+$t('No resources exist'),
isDisabled: true,
children: []
}]
if(optionsCmp.length>0) {

2
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/mr.vue

@ -243,8 +243,6 @@
let noResources = [{
id: -1,
name: $t('No resources exist'),
fullName: '/'+$t('No resources exist'),
isDisabled: true,
children: []
}]
if(optionsCmp.length>0) {

1
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue

@ -224,7 +224,6 @@
id: -1,
name: $t('No resources exist'),
fullName: '/'+$t('No resources exist'),
isDisabled: true,
children: []
}]
if(optionsCmp.length>0) {

1
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue

@ -262,7 +262,6 @@
id: -1,
name: $t('No resources exist'),
fullName: '/'+$t('No resources exist'),
isDisabled: true,
children: []
}]
if(optionsCmp.length>0) {

1
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue

@ -364,7 +364,6 @@
id: -1,
name: $t('No resources exist'),
fullName: '/'+$t('No resources exist'),
isDisabled: true,
children: []
}]
if(optionsCmp.length>0) {

Loading…
Cancel
Save