修复跳转

master
yutent 2023-04-25 18:03:20 +08:00
parent 182350fc22
commit ca3e61e69a
1 changed files with 15 additions and 2 deletions

View File

@ -9,8 +9,16 @@
<cite>不挑框架, 可无缝适配React, Angular, Avalon, Vue, jQuery...</cite>
<cite>网站快速成型工具</cite>
<wc-space gap="xxxl">
<wc-button size="xl" round solid>开始使用</wc-button>
<wc-button size="xl" type="secondary" round>GitHub</wc-button>
<wc-button size="xl" round solid @click="navto('/@wcui/docs.html')"
>开始使用</wc-button
>
<wc-button
size="xl"
type="secondary"
round
@click="navto('https://github.com/bd-js/wcui')"
>GitHub</wc-button
>
</wc-space>
</section>
@ -72,6 +80,11 @@ export default {
components: {
Topbar,
Footer
},
methods: {
navto(target) {
location.href = target
}
}
}
</script>