fix bug for
This commit is contained in:
parent
2339bd4b03
commit
b3aaff4d41
@ -96,7 +96,7 @@ export default {
|
|||||||
arraychaine.forEach((element) => {
|
arraychaine.forEach((element) => {
|
||||||
if (element !== '') {
|
if (element !== '') {
|
||||||
if (re.test(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) {
|
for (let i = range[0]; i <= range[1]; i += 1) {
|
||||||
this.$store.dispatch('getchaine', { num: i });
|
this.$store.dispatch('getchaine', { num: i });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user