var stooges = [
{label:1,value:1,placeCode: 'sh', stock_code: 40},
{label:1,value:1,placeCode: 'sh', stock_code: 50},
{label:1,value:1,placeCode: 'sz', stock_code: 60,status:1},
{label:1,value:1,placeCode: 'sz', stock_code: 39,status:1}
];
我想将上面代码里的placeCode改变值:"sh"改为"沪","sz"改为"深",请问如何操作,最好用underscore.js或lodash.js
皈依舞
相关分类