fix issue with range for #8

Merged
vincent merged 3 commits from dev into master 2019-05-09 14:45:31 +00:00
Showing only changes of commit b3aaff4d41 - Show all commits

View File

@ -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 });
}