fix: resource label value validation

This commit is contained in:
jialin
2024-09-14 19:49:22 +08:00
parent 0adca93d5c
commit 1fe42a6eda
6 changed files with 34 additions and 4 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ export default {
'common.button.disabled': 'Disabled',
'common.button.upgrade': 'Upgrade',
'common.input.holder': 'Please enter',
'common.validate.value': 'value is required',
'common.validate.value': '{name} value is required',
'common.button.edit': 'Edit',
'common.button.authorize': 'Role Authorization',
'common.button.confirm': 'Confirm',
+1
View File
@@ -8,6 +8,7 @@ export default {
'resources.table.labels': 'Labels',
'resources.table.hostname': 'Hostname',
'resources.table.key.tips': 'The same key exists.',
'resources.form.label': 'Label',
'resources.form.advanced': 'Advanced',
'resources.form.enablePartialOffload': 'Allow CPU Offloading',
'resources.form.placementStrategy': 'Placement Strategy',
+1 -1
View File
@@ -109,7 +109,7 @@ export default {
'common.ws.reconnect': '重新连接',
'common.input.key': '键',
'common.input.value': '值',
'common.validate.value': '值必填',
'common.validate.value': '{name}值必填',
'common.input.type': '类型',
'common.input.visible': '是否可见',
'common.input.description': '描述',
+1
View File
@@ -7,6 +7,7 @@ export default {
'resources.nodes': '节点',
'resources.table.hostname': '主机名',
'resources.table.key.tips': '存在相同的 key.',
'resources.form.label': '标签',
'resources.table.labels': '标签',
'resources.form.advanced': '高级',
'resources.form.enablePartialOffload': '允许 CPU 卸载',