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/verify/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/demo/comp/verify/index.vue b/src/views/demo/comp/verify/index.vue
index 3387c7f..59d404c 100644
--- a/src/views/demo/comp/verify/index.vue
+++ b/src/views/demo/comp/verify/index.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="p-10">
+  <PageWrapper title="鎷栧姩鏍¢獙绀轰緥">
     <div class="flex justify-center p-4 items-center bg-gray-700">
       <BasicDragVerify ref="el1" @success="handleSuccess" />
       <a-button type="primary" class="ml-2" @click="handleBtnClick(el1)">杩樺師</a-button>
@@ -48,15 +48,17 @@
       </BasicDragVerify>
       <a-button type="primary" class="ml-2" @click="handleBtnClick(el5)">杩樺師</a-button>
     </div>
-  </div>
+  </PageWrapper>
 </template>
 <script lang="ts">
   import { defineComponent, ref } from 'vue';
   import { BasicDragVerify, DragVerifyActionType, PassingData } from '/@/components/Verify/index';
   import { useMessage } from '/@/hooks/web/useMessage';
   import { BugOutlined, RightOutlined } from '@ant-design/icons-vue';
+  import { PageWrapper } from '/@/components/Page';
+
   export default defineComponent({
-    components: { BasicDragVerify, BugOutlined, RightOutlined },
+    components: { BasicDragVerify, BugOutlined, RightOutlined, PageWrapper },
     setup() {
       const { createMessage } = useMessage();
       const el1 = ref<Nullable<DragVerifyActionType>>(null);

--
Gitblit v1.8.0