test(ssr): add ssr testing cases

- Add more cases for running ssr tests
This commit is contained in:
JeremyWuuuuu
2022-03-18 15:52:39 +08:00
committed by zouhang
parent 3f72ec5818
commit c2ecb3a773
43 changed files with 1333 additions and 8 deletions

View File

@ -0,0 +1,19 @@
<template>
<el-steps :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>