`Button`组件
1sm23 opened this issue · 0 comments
1sm23 commented
- Read the docs.
- Make sure the code is up to date. (Some bugs have been fixed in the latest code)
- This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
Describe the bug
Button
组件引入时会报警告,全局 AButton
没有这个问题
警告:
192.168.1.30-1634782917635.log
Reproduction
<template>
<div class="p-4">
<Button>123</Button>
<GrowCard :loading="loading" class="enter-y" />
<SiteAnalysis class="!my-4 enter-y" :loading="loading" />
<div class="md:flex enter-y">
<VisitRadar class="md:w-1/3 w-full" :loading="loading" />
<VisitSource class="md:w-1/3 !md:mx-4 !md:my-0 !my-4 w-full" :loading="loading" />
<SalesProductPie class="md:w-1/3 w-full" :loading="loading" />
</div>
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
import GrowCard from './components/GrowCard.vue';
import SiteAnalysis from './components/SiteAnalysis.vue';
import VisitSource from './components/VisitSource.vue';
import VisitRadar from './components/VisitRadar.vue';
import SalesProductPie from './components/SalesProductPie.vue';
import { Button } from '/@/components/Button';
const loading = ref(true);
setTimeout(() => {
loading.value = false;
}, 1500);
</script>
System Info
- Operating System: Windows
- Node version: 14.17.0
- Package manager (npm/yarn/pnpm) and version: yarn 1.22.5