提交 594f70e6 编写于 作者: KK's avatar KK

新增值规则内置多语言

上级 7447b3b3
......@@ -34,6 +34,13 @@ export default {
search: 'Search',
reset: 'Reset',
},
form: {
rules: {
'required': 'cannot be empty',
'string' : 'must be a string',
'number' : 'must be a number'
}
},
// 非实体视图
views: {
<#if app.isPubRefViewOnly()><#assign allAppViews = app.getAllRefPSAppViews()/><#else><#assign allAppViews = app.getAllPSAppViews()/></#if>
......
......@@ -34,6 +34,13 @@ export default {
search: '搜索',
reset: '重置',
},
form: {
rules: {
'required': '值不能为空',
'string' : '值必须为字符串',
'number' : '值必须为数值'
}
},
// 非实体视图
views: {
<#if app.isPubRefViewOnly()><#assign allAppViews = app.getAllRefPSAppViews()/><#else><#assign allAppViews = app.getAllPSAppViews()/></#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册