From a71b6416b467cd3b2ec24efd68accc85223e8a3b Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Tue, 01 Mar 2022 01:09:04 +0800
Subject: [PATCH] 预览调整

---
 src/components/swichLabel/main1-show.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/components/swichLabel/main1-show.vue b/src/components/swichLabel/main1-show.vue
index 7b20388..01faddb 100644
--- a/src/components/swichLabel/main1-show.vue
+++ b/src/components/swichLabel/main1-show.vue
@@ -1,6 +1,7 @@
 <template>
 	<div>
 		<MyModal ref="myModal"></MyModal>
+		<MyPreviewModal ref="MyPreviewModal"></MyPreviewModal>
 
 		<div class="blog-drawer">
 			<a-drawer placement="left" :closable="false" :visible="visible1" :getContainer="'body'"
@@ -37,7 +38,8 @@
 
 				<a-col v-bind="colApiRight" ref="myDrawer">
 					<!-- <boxRight></boxRight> -->
-					<tool @showModal="showModal" @showDrawer1="showDrawer1" @showScreen="showScreen"></tool>
+					<tool @showModal="showModal" @showPreview="showPreview" @showDrawer1="showDrawer1"
+						@showScreen="showScreen"></tool>
 				</a-col>
 			</a-row>
 		</div>
@@ -51,6 +53,7 @@
 	import articleListScorll from "../group/articleListScorll.vue"
 	import tool from "../group/tool.vue"
 	import MyModal from "../group/MyModal.vue"
+	import MyPreviewModal from "../group/MyPreviewModal.vue"
 
 	export default {
 
@@ -60,6 +63,7 @@
 			articleListScorll,
 			tool,
 			MyModal,
+			MyPreviewModal,
 		},
 		methods: {
 			showScreen() {
@@ -83,6 +87,9 @@
 			},
 			showModal() {
 				this.$refs.myModal.showModal();
+			},
+			showPreview() {
+				this.$refs.MyPreviewModal.showModal();
 			},
 			afterVisibleChange(val) {},
 			showDrawer1() {
@@ -162,8 +169,6 @@
 </script>
 
 <style lang="less">
-	
-	
 	@font-face {
 		font-family: 'HYTangMeiRen';
 		// font-display: swap;

--
Gitblit v1.9.1