var index = 0 var _index = 4 for (var key in clientInputData) { if (index > 4) { //从第8个控件开始 var isMust = clientInputData[key].isMust var name = clientInputData[key].name _index++ commonSetting[_index] = { timestamp: _index, isMust: isMust, name: name, isPublic: false }