From 5a813f3b28f3cbf1db3a3657ccf83267c6e0d315 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期四, 24 十月 2024 11:22:02 +0800 Subject: [PATCH] 工艺路线相关优化 --- src/views/demo/comp/count-to/index.vue | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/views/demo/comp/count-to/index.vue b/src/views/demo/comp/count-to/index.vue index 86cdd9b..eb20c73 100644 --- a/src/views/demo/comp/count-to/index.vue +++ b/src/views/demo/comp/count-to/index.vue @@ -35,20 +35,12 @@ </Card> </PageWrapper> </template> -<script lang="ts"> - import { defineComponent } from 'vue'; +<script lang="ts" setup> import { Card } from 'ant-design-vue'; - import { CountTo } from '/@/components/CountTo/index'; - import { PageWrapper } from '/@/components/Page'; + import { CountTo } from '@/components/CountTo'; + import { PageWrapper } from '@/components/Page'; - export default defineComponent({ - components: { - Card, - CardGrid: Card.Grid, - CountTo, - PageWrapper, - }, - }); + const CardGrid = Card.Grid; </script> <style lang="less" scoped> .count-to-demo { -- Gitblit v1.9.3