[Doc] Stepper: update async change demo (#3601)

This commit is contained in:
neverland
2019-06-22 11:54:24 +08:00
committed by GitHub
parent 8ecf51a135
commit d690c5548d
3 changed files with 6 additions and 15 deletions

View File

@@ -91,14 +91,11 @@ export default {
methods: {
onChange(value) {
if (this.changing) {
return;
}
this.$toast.loading({ forbidClick: true });
this.changing = true;
setTimeout(() => {
this.changing = false;
this.stepper6 = value;
this.$toast.clear();
}, 500);
}
}