Former-commit-id: e8d31d653ae8570078bf6194e863b08451399be6
@ -14,7 +14,7 @@ public class Index extends Screen {
// 获取配置
HashMap<String, Object> prop = new HashMap<>();
prop.put("open", true);//是否保持一个子菜单展开
prop.put("coll", true);//左侧菜单是否收缩
prop.put("coll", false);//左侧菜单是否收缩
prop.put("tran", false);//是否展示动画
model.addAttribute("prop", prop);
}
@ -35,7 +35,7 @@ public class ${table.getCName()}CreateRequest extends BaseRequest {
@Length(min = 0, max = ${field.fieldLength}, message = "${field.fieldComment?default("")}长度不合法(0-${field.fieldLength})")
</#if>
<#if field.fieldType?contains("Dict")>
@Dict(name = "${field.getFName()}")
@Dict(name = "${field.getFieldName()}")
private ${field.fieldType.javaType()} ${field.getFName()};
@ -23,7 +23,7 @@ public class ${table.getCName()}FindRequest extends BaseFindRequest {
* ${field.fieldComment?default("")}
*/
@ -35,7 +35,7 @@ public class ${table.getCName()}UpdateRequest extends BaseUpdateRequest {
@ -538,7 +538,7 @@
if (this.dictName) {
this.$ajax.load("system", "dict", {dictName: this.dictName}).then(function (response) {
if (response.errors.length > 0) {
this.e(response.errors[0].message)
console.error(response.errors[0].message)
} else {
this.options = response.dictItems;
Powered by TurnKey Linux.