You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
539 B
Vue
21 lines
539 B
Vue
|
4 years ago
|
<script setup lang="ts">
|
||
|
|
import { ContentWrap } from '@/components/ContentWrap'
|
||
|
|
import { useI18n } from '@/hooks/web/useI18n'
|
||
|
|
import { useIntro } from '@/hooks/web/useIntro'
|
||
|
|
import { ElButton } from 'element-plus'
|
||
|
|
|
||
|
|
const { t } = useI18n()
|
||
|
|
|
||
|
|
const { introRef } = useIntro()
|
||
|
|
|
||
|
|
const guideStart = () => {
|
||
|
|
introRef.start()
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<ContentWrap :title="t('guideDemo.guide')" :message="t('guideDemo.message')">
|
||
|
|
<ElButton type="primary" @click="guideStart">{{ t('guideDemo.start') }}</ElButton>
|
||
|
|
</ContentWrap>
|
||
|
|
</template>
|