mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
48a056b051
* docs: modify layout style * docs: modify nav padding * docs: update style * feat: update * docs: upadte * docs: update * docs: modify layout style * docs: update style * feat: update * docs: upadte * docs: update * docs: update * docs: update * docs: remove empty script * docs: update --------- Co-authored-by: kooriookami <bingshuanglingluo@163.com> Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
20 lines
436 B
Vue
20 lines
436 B
Vue
<template>
|
|
<el-steps style="max-width: 600px" :active="active" finish-status="success">
|
|
<el-step title="Step 1" />
|
|
<el-step title="Step 2" />
|
|
<el-step title="Step 3" />
|
|
</el-steps>
|
|
|
|
<el-button style="margin-top: 12px" @click="next">Next step</el-button>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
|
|
const active = ref(0)
|
|
|
|
const next = () => {
|
|
if (active.value++ > 2) active.value = 0
|
|
}
|
|
</script>
|