Merge pull request #129 from QingWei-Li/next

Step(doc): fix doc
pull/2/head
杨奕 2016-08-31 05:06:51 -05:00 committed by GitHub
commit 5abde26e21
1 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,19 @@
<script>
export default {
data() {
return {
active: 0
};
},
methods: {
next() {
if (this.active++ > 2) this.active = 0;
}
}
}
</script>
## Steps 步骤条
引导用户按照流程完成任务的分步导航条可根据实际应用场景设定步骤步骤不得少于2步