style: 抽离BaseButton,支持按钮修改主题色
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { ContentWrap } from '@/components/ContentWrap'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
import { ElButton } from 'element-plus'
|
||||
import { useGuide } from '@/hooks/web/useGuide'
|
||||
|
||||
const { t } = useI18n()
|
||||
@@ -15,6 +14,6 @@ const guideStart = () => {
|
||||
|
||||
<template>
|
||||
<ContentWrap :title="t('guideDemo.guide')" :message="t('guideDemo.message')">
|
||||
<ElButton type="primary" @click="guideStart">{{ t('guideDemo.start') }}</ElButton>
|
||||
<BaseButton type="primary" @click="guideStart">{{ t('guideDemo.start') }}</BaseButton>
|
||||
</ContentWrap>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user