Skip to content

Commit 6beae19

Browse files
authored
[Fix-7103] Fix the issue with the sqoop task missing the verification of props. (#7119)
* add the verification of parameters for the sqoop task
1 parent 9fffbdb commit 6beae19

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

  • dolphinscheduler-ui/src/js

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,10 +951,15 @@
951951
* verification
952952
*/
953953
_verification () {
954+
// localParams Subcomponent verification
955+
if (!this.$refs.refLocalParams._verifProp()) {
956+
return false
957+
}
954958
let sqoopParams = {
955959
jobType: this.jobType,
956960
localParams: this.localParams
957961
}
962+
958963
if (this.jobType === 'CUSTOM') {
959964
if (!shellEditor.getValue()) {
960965
this.$message.warning(`${i18n.$t('Please enter Custom Shell(required)')}`)

dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export default {
257257
'prop(required)': 'prop(必填)',
258258
'value(optional)': 'value(选填)',
259259
'value(required)': 'value(必填)',
260-
'prop is empty': 'prop不能为空',
260+
'prop is empty': '自定义参数prop不能为空',
261261
'value is empty': 'value不能为空',
262262
'prop is repeat': 'prop中有重复',
263263
'Start Time': '开始时间',

0 commit comments

Comments
 (0)