fix issue with range for #8
@ -96,7 +96,7 @@ export default {
|
||||
arraychaine.forEach((element) => {
|
||||
if (element !== '') {
|
||||
if (re.test(element)) {
|
||||
const range = element.split('-');
|
||||
const range = element.split('-').map(Number);
|
||||
for (let i = range[0]; i <= range[1]; i += 1) {
|
||||
this.$store.dispatch('getchaine', { num: i });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user