后台的数据要显示在前端,进行数据类型转换的几种方法

1、在Dto上加Formatter,前端直接获取formatter

2、easyUI:在js里添加formatter { field: 'EnableFormatter', title: '是否有效', width: 100, sortable: true, formatter: function() {}} ←这个方法待整理

3、前端获取CommonData

posted @ 2018-04-18 17:02  BernardBlack  阅读(312)  评论(0编辑  收藏  举报