Open Rofound opened 4 years ago
$form.createForm(context, option) 中的 option.validateMessages 对象中的字符串模板只有 %s 吗 [https://github.com/yiminghe/async-validator/blob/master/src/messages.js]() 如果可以使用字符串模板取得label 的值将会更好,因为现在只有 %s 所以在统一配置没法说明这个label 有的只是 decorator 的id 而id一般是变量名(英文的)
$form.createForm(context, option) 中的 option.validateMessages 对象中的字符串模板只有 %s 吗 [https://github.com/yiminghe/async-validator/blob/master/src/messages.js]() 如果可以使用字符串模板取得label 的值将会更好,因为现在只有 %s 所以在统一配置没法说明这个label 有的只是 decorator 的id 而id一般是变量名(英文的)