{"header":"状态",width:150,dataIndex:"isstate",renderer:function(value){GLOBAL.gl=value //当你想利用这个值来对下面的进行判断,不妨给个全局变量if(value==false){return '<a class="xn_tablea">正常</a>'}else{return '<a class="xn_tablea" style="color:red">已冻结</a>'}}},{"header":"操作",width:150,dataIndex:"tokenId",renderer:function(value){if(GLOBAL.gl==false){return '<a class="xn_tablea cao" οnclick=dong('+value+') style="color:blue" >冻结</a>'}else{return '<a class="xn_tablea cao" οnclick=dong('+value+') style="color:blue">解冻</a>'}}}
希望可以帮助你