refactor: 重构useValidator

This commit is contained in:
kailong321200875
2023-08-16 16:17:35 +08:00
parent 71b0e4f6f6
commit b8849dabe2
8 changed files with 187 additions and 72 deletions

View File

@@ -44,7 +44,11 @@ export default {
refresh: 'Refresh',
fullscreen: 'Fullscreen',
size: 'Size',
columnSetting: 'Column setting'
columnSetting: 'Column setting',
lengthRange: 'The length should be between {min} and {max}',
notSpace: 'Spaces are not allowed',
notSpecialCharacters: 'Special characters are not allowed',
isEqual: 'The two are not equal'
},
lock: {
lockScreen: 'Lock screen',

View File

@@ -44,7 +44,11 @@ export default {
refresh: '刷新',
fullscreen: '全屏',
size: '尺寸',
columnSetting: '列设置'
columnSetting: '列设置',
lengthRange: '长度在 {min} 到 {max} 个字符',
notSpace: '不能包含空格',
notSpecialCharacters: '不能包含特殊字符',
isEqual: '两次输入不一致'
},
lock: {
lockScreen: '锁定屏幕',