From 9c695b19fc896c497c20bda6089f824c1705836c Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Mon, 28 Feb 2022 21:12:42 +0800
Subject: [PATCH] 添加md预览弹窗

---
 src/components/group/tool.vue |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/components/group/tool.vue b/src/components/group/tool.vue
index 05d4ea7..d4f319f 100644
--- a/src/components/group/tool.vue
+++ b/src/components/group/tool.vue
@@ -8,6 +8,10 @@
 			<!-- <a-button @click="showDrawer2">
 				抽屉2
 			</a-button> -->
+			<a-button @click="showPreview">
+				预览
+				<a-icon type="youtube" />
+			</a-button>
 			<a-button @click="showModal">
 				日志
 				<a-icon type="plus-circle" />
@@ -40,6 +44,9 @@
 			showModal() {
 				this.$emit('showModal')
 			},
+			showPreview() {
+				this.$emit('showPreview')
+			},
 			showScreen() {
 				this.$emit('showScreen')
 				if (this.screen) {

--
Gitblit v1.9.1