Files
test-repo/docs/.vitepress/theme/components/StepBar.vue
T
sanbuphy 0eba9e87e9 fix(eslint): reduce warnings in GitHub Actions deployment
- Disable formatting rules (handled by Prettier)
- Relaxed strict Vue/JS rules for demo code compatibility
- Fix syntax errors in ApiPlayground and VoiceCloningDemo
- Fix duplicate else-if condition in ApiPlayground
- Fix Promise executor async pattern in AutoregressiveAudioDemo
- Add TypeScript file support to ESLint config

Warnings reduced from 295 to 251 problems.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-18 17:38:10 +08:00

32 lines
679 B
Vue

<template>
<el-steps
:active="active"
align-center
>
<el-step
v-for="(item, index) in items"
:key="index"
:title="item.title"
:description="item.description"
/>
</el-steps>
</template>
<script setup>
defineProps({
active: {
type: Number,
default: 0
},
items: {
type: Array,
default: () => [
{ title: '困境与机会', description: '普通人的编程新可能' },
{ title: '能力初探', description: '60秒极速开发体验' },
{ title: '原生实战', description: '打造AI原生贪吃蛇' },
{ title: '拓展创造', description: '举一反三做游戏' }
]
}
})
</script>