update LoadingBar speed
This commit is contained in:
parent
724a607712
commit
a35fb2991a
2 changed files with 6 additions and 6 deletions
|
@ -19,11 +19,11 @@
|
|||
}
|
||||
},
|
||||
created () {
|
||||
this.$Loading.config({
|
||||
color: '#5cb85c',
|
||||
failedColor: '#f0ad4e',
|
||||
height: 5
|
||||
});
|
||||
// this.$Loading.config({
|
||||
// color: '#5cb85c',
|
||||
// failedColor: '#f0ad4e',
|
||||
// height: 5
|
||||
// });
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -55,7 +55,7 @@ export default {
|
|||
});
|
||||
|
||||
timer = setInterval(() => {
|
||||
percent += Math.floor(Math.random () * 3 + 5);
|
||||
percent += Math.floor(Math.random () * 3 + 1);
|
||||
if (percent > 95) {
|
||||
clearTimer();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue