- {{$t('methods')}}
+
+
+ {{$t('SQL Statement')}}
+
+
+ :autosize="{minRows:5}"
+ type="textarea"
+ :disabled="isDetails"
+ v-model="method"
+ :placeholder="$t('Please enter the procedure method')">
@@ -103,7 +106,7 @@
// Verification function
if (!this.method) {
- this.$message.warning(`${i18n.$t('Please enter method')}`)
+ this.$message.warning(`${i18n.$t('Please enter a SQL Statement(required)')}`)
return false
}
@@ -111,6 +114,7 @@
if (!this.$refs.refLocalParams._verifProp()) {
return false
}
+
// storage
this.$emit('on-params', {
type: this.type,
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue
index d5322ea681..78b4985754 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue
@@ -32,7 +32,7 @@