Browse Source

[Fix-3338][ui] Fix the warning when user do not fill the node blank (#3349)

* [Fix-3338][ui] Fix the warning when user do not fill the node blank

* Update formModel.vue
pull/3/MERGE
Yichao Yang 4 years ago committed by GitHub
parent
commit
a532d8ed69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
  2. 2
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue
  3. 1
      dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
  4. 2
      dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js

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

@ -38,7 +38,7 @@
type="text" type="text"
v-model="name" v-model="name"
:disabled="isDetails" :disabled="isDetails"
:placeholder="$t('Please enter name(required)')" :placeholder="$t('Please enter name (required)')"
maxlength="100" maxlength="100"
@on-blur="_verifName()" @on-blur="_verifName()"
autocomplete="off"> autocomplete="off">

2
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue

@ -26,7 +26,7 @@
type="text" type="text"
v-model="name" v-model="name"
:disabled="router.history.current.name === 'projects-instance-details'" :disabled="router.history.current.name === 'projects-instance-details'"
:placeholder="$t('Please enter name(required)')"> :placeholder="$t('Please enter name (required)')">
</x-input> </x-input>
</div> </div>

1
dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js

@ -34,7 +34,6 @@ export default {
'View log': 'View log', 'View log': 'View log',
'Enter this child node': 'Enter this child node', 'Enter this child node': 'Enter this child node',
'Node name': 'Node name', 'Node name': 'Node name',
'Please enter name(required)': 'Please enter name(required)',
'Run flag': 'Run flag', 'Run flag': 'Run flag',
Normal: 'Normal', Normal: 'Normal',
'Prohibition execution': 'Prohibition execution', 'Prohibition execution': 'Prohibition execution',

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

@ -34,7 +34,7 @@ export default {
'View log': '查看日志', 'View log': '查看日志',
'Enter this child node': '进入该子节点', 'Enter this child node': '进入该子节点',
'Node name': '节点名称', 'Node name': '节点名称',
'Please enter name(required)': '请输入名称(必填)', 'Please enter name (required)': '请输入名称(必填)',
'Run flag': '运行标志', 'Run flag': '运行标志',
Normal: '正常', Normal: '正常',
'Prohibition execution': '禁止执行', 'Prohibition execution': '禁止执行',

Loading…
Cancel
Save