Browse Source

Merge remote-tracking branch 'remotes/upstream/dev-1.1.0' into dev-1.1.0

pull/2/head
qiaozhanwei 5 years ago
parent
commit
a4ca7501fc
  1. 5
      escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/timing.vue
  2. 3
      escheduler-ui/src/js/module/i18n/locale/en_US.js
  3. 3
      escheduler-ui/src/js/module/i18n/locale/zh_CN.js

5
escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/timing.vue

@ -190,6 +190,11 @@
return false return false
} }
if (this.scheduleTime[0] === this.scheduleTime[1]) {
this.$message.warning(`${i18n.$t('The start time must not be the same as the end')}`)
return false
}
if (!this.crontab) { if (!this.crontab) {
this.$message.warning(`${i18n.$t('Please enter crontab')}`) this.$message.warning(`${i18n.$t('Please enter crontab')}`)
return false return false

3
escheduler-ui/src/js/module/i18n/locale/en_US.js

@ -467,5 +467,6 @@ export default {
'statistics': 'statistics', 'statistics': 'statistics',
'select tenant':'select tenant', 'select tenant':'select tenant',
'Process Instance Running Count': 'Process Instance Running Count', 'Process Instance Running Count': 'Process Instance Running Count',
'Please enter Principal':'Please enter Principal' 'Please enter Principal':'Please enter Principal',
'The start time must not be the same as the end': 'The start time must not be the same as the end'
} }

3
escheduler-ui/src/js/module/i18n/locale/zh_CN.js

@ -467,5 +467,6 @@ export default {
'Statistics manage': '统计管理', 'Statistics manage': '统计管理',
'statistics': '统计', 'statistics': '统计',
'select tenant':'选择租户', 'select tenant':'选择租户',
'Please enter Principal':'请输入Principal' 'Please enter Principal':'请输入Principal',
'The start time must not be the same as the end': '开始时间和结束时间不能相同'
} }

Loading…
Cancel
Save