修改BUG:字典表编辑页面脚本匹配使用数字类型

This commit is contained in:
Argo-MacBookPro 2018-09-16 02:35:59 +08:00
parent 13931cfbe4
commit 7a36c338d6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
{ title: "字典标签", field: "Category", sortable: true }, { title: "字典标签", field: "Category", sortable: true },
{ title: "字典名称", field: "Name", sortable: true }, { title: "字典名称", field: "Name", sortable: true },
{ title: "字典代码", field: "Code", sortable: true }, { title: "字典代码", field: "Code", sortable: true },
{ title: "字典分类", field: "Define", sortable: true, formatter: function (value) { return value === "0" ? "系统使用" : "自定义"; } } { title: "字典分类", field: "Define", sortable: true, formatter: function (value) { return value === 0 ? "系统使用" : "自定义"; } }
] ]
} }
}); });