[Doc] Stepper: optimize async demo (#3098)

This commit is contained in:
neverland
2019-04-06 10:53:38 +08:00
committed by GitHub
parent a5a5e56952
commit 1a085f178c
3 changed files with 19 additions and 0 deletions
+6
View File
@@ -51,8 +51,14 @@ export default {
methods: {
onChange(value) {
if (this.changing) {
return;
}
this.changing = true;
setTimeout(() => {
this.value = value;
this.changing = false;
}, 500);
}
}