Browse Source

[Enhancement] increase param length limit (#930)

Sometimes the parameters are longer(eg. HDFS path).
Increased to 128(t_escheduler_process_definition.global_params is text and process_definition_json is longtext).
gary 5 years ago
parent
commit
3ac5602296

+ 2 - 2
escheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/localParams.vue

@@ -25,7 +25,7 @@
               type="text"
               v-model="localParamsList[$index].prop"
               :placeholder="$t('prop(required)')"
-              maxlength="64"
+              maxlength="128"
               @on-blur="_verifProp()"
               :style="inputStyle">
       </x-input>
@@ -60,7 +60,7 @@
               type="text"
               v-model="localParamsList[$index].value"
               :placeholder="$t('value(optional)')"
-              maxlength="64"
+              maxlength="128"
               @on-blur="_handleValue()"
               :style="inputStyle">
       </x-input>