data1 = []; data1.push({ value: "", text: "请选择" }); json.data.result.forEach(function (e) { data1.push(e); }); var index=0; while (index < json.data.result.length) { data1.push(json.data.result[index++]); } var index = 0; do{ data1.push(json.data.result[index++]) } while (index < json.data.result.length)
时间: 2024-11-07 00:18:56