购物网站是用什么软件做的站长资讯
const str = "1=增量,2=全量";
const arr = str.split(",").map(item => {const [value, label] = item.split("=");return { value, label};
});
const str = "1=增量,2=全量";
const arr = str.split(",").map(item => {const [value, label] = item.split("=");return { value, label};
});