vue 前台解析 Formatter

1 statusFormatter: function(row, column, cellValue, index){
2             if(cellValue==1){
3               return '启用'
4             }else if(cellValue==0){
5               return '停用'
6             }
7       },
原文地址:https://www.cnblogs.com/turbozhang/p/12691744.html