vue 前台解析 Formatter

1 statusFormatter: function(row, column, cellValue, index){
2             if(cellValue==1){
3               return '启用'
4             }else if(cellValue==0){
5               return '停用'
6             }
7       },

 

posted @ 2020-04-13 15:41  turbozhang  阅读(1385)  评论(0编辑  收藏  举报