JS 陣列處理方法:https://wcc723.github.io/javascript/2017/06/29/es6-native-array/
//搜尋資料 var main = mains.filter(function(item,index){ if(item[0] == formData.v1 && item[1] == formData.v2){ item[2] = formatName(item[2]);//姓名個資 return true; } });