You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/08/02 11:09:49 UTC

[dolphinscheduler] 11/11: fix bug where confirm disable error (#11251)

This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch 3.0.0-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit 2c469224dd69264d1da3e0fa7d743ebb09c41170
Author: Devosend <de...@gmail.com>
AuthorDate: Tue Aug 2 17:38:05 2022 +0800

    fix bug where confirm disable error (#11251)
    
    (cherry picked from commit 78e912257330c8ec488df7d42e025f47e15331c9)
---
 .../resource/task-group/option/components/form-modal.tsx      | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx b/dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx
index c2f83d82a8..1b67540765 100644
--- a/dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx
+++ b/dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx
@@ -15,7 +15,14 @@
  * limitations under the License.
  */
 
-import { defineComponent, PropType, toRefs, onMounted, ref, Ref } from 'vue'
+import {
+  defineComponent,
+  PropType,
+  toRefs,
+  onMounted,
+  ref,
+  Ref,
+} from 'vue'
 import { NForm, NFormItem, NInput, NSelect, NInputNumber } from 'naive-ui'
 import { useForm } from '../use-form'
 import Modal from '@/components/modal'
@@ -104,7 +111,7 @@ const FormModal = defineComponent({
         confirmDisabled={
           !this.formData.name ||
           !this.formData.groupSize ||
-          !this.formData.description
+          !this.formData.projectCode
         }
         confirmLoading={this.saving}
       >