值绑定不起作用,在这种情况下我要将一个值映射到数组第一个索引,该索引位于循环key1.MappingOption
中,我想将其映射到key1.MappingOptionsColumns[0]
if (key1.IsMultiSelect) {
key1.MappingOptionsColumns = [];
key1.MappingOptionsColumns[0] = key1.MappingOptions;
if (key1.FieldTypeEnum == 17) {
key1.MappingOptionsColumns[0] = key1.MappingOptions.toString();
console.log("key1.MappingOptionsColumns", key1.MappingOptionsColumns[0]);
console.log("key1", key1);
}
}
之后即将到来 console value