|
@@ -39,8 +39,8 @@ class RangePicker implements RangePickerClass {
|
|
|
|
|
|
pick(range: string[]) {
|
|
pick(range: string[]) {
|
|
range.forEach((r: string) => {
|
|
range.forEach((r: string) => {
|
|
- const text = (<Record<string, string>>pickerText)[r];
|
|
|
|
- this.config[text] = (picker as Record<string, moment.Moment[]>)[r];
|
|
|
|
|
|
+ // const text = (<Record<string, string>>pickerText)[r];
|
|
|
|
+ this.config[r] = (picker as Record<string, moment.Moment[]>)[r];
|
|
});
|
|
});
|
|
|
|
|
|
return this;
|
|
return this;
|