提交 d0f25353 编写于 作者: D dolymood

fix(validator): number len msg should be length, not equal

上级 9070b961
......@@ -31,7 +31,7 @@ export default {
},
len: {
string: /* istanbul ignore next */ (config) => `请输入 ${config} 位字符`,
number: /* istanbul ignore next */ (config) => `等于 ${config}`,
number: /* istanbul ignore next */ (config) => `长度应等于 ${config}`,
array: /* istanbul ignore next */ (config) => `请选择 ${config} 项`,
date: /* istanbul ignore next */ (config) => `请选择 ${toLocaleDateString(config, 'zh')}`,
email: /* istanbul ignore next */ (config) => `请输入 ${config} 位字符`,
......
......@@ -31,7 +31,7 @@ export default {
},
len: {
string: /* istanbul ignore next */ (config) => `Please input ${config} characters.`,
number: /* istanbul ignore next */ (config) => `The number should equal ${config}`,
number: /* istanbul ignore next */ (config) => `The length should equal ${config}`,
array: /* istanbul ignore next */ (config) => `Please select ${config} items`,
date: /* istanbul ignore next */ (config) => `Please select ${toLocaleDateString(config, 'en')}`,
email: /* istanbul ignore next */ (config) => `Please input ${config} characters.`,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册