From 31ff0559fe3b635fc2091aac0e2f5e340629134c Mon Sep 17 00:00:00 2001 From: vben <anncwb@126.com> Date: 星期二, 05 一月 2021 21:45:05 +0800 Subject: [PATCH] feat(page-wrapper): added pageWrapper component --- src/views/demo/comp/count-to/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/demo/comp/count-to/index.vue b/src/views/demo/comp/count-to/index.vue index dc2725d..c8cfd13 100644 --- a/src/views/demo/comp/count-to/index.vue +++ b/src/views/demo/comp/count-to/index.vue @@ -1,5 +1,5 @@ <template> - <div class="p-4 count-to-demo"> + <PageWrapper title="鏁板瓧鍔ㄧ敾绀轰緥"> <Card> <CardGrid class="count-to-demo-card"> <CountTo prefix="$" :startVal="1" :endVal="200000" :duration="8000" /> @@ -14,20 +14,20 @@ <CountTo separator="-" :startVal="10000" :endVal="500000" :duration="8000" /> </CardGrid> </Card> - </div> + </PageWrapper> </template> <script lang="ts"> import { defineComponent } from 'vue'; import { Card } from 'ant-design-vue'; import { CountTo } from '/@/components/CountTo/index'; + import { PageWrapper } from '/@/components/Page'; + export default defineComponent({ components: { Card, CardGrid: Card.Grid, CountTo, - }, - setup() { - return {}; + PageWrapper, }, }); </script> -- Gitblit v1.8.0