📅  最后修改于: 2022-03-11 15:03:10.427000             🧑  作者: Mango
myArray = ['1', '2', '3'];
var arrStr = encodeURIComponent(JSON.stringify(myArray));
window.location = url + '/?id='+id + '&type=' + myArray;