原数组:selfPickupIds = ['8','7'] 字符串数组转数字数组: this.form.selfPickupIds = selfPickupIds.map(Number) 输出:[8, 7]