From 3a5d6662fbeb80426d9708a5d4684bdd5c1f072f Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Tue, 02 Aug 2022 17:37:00 +0800
Subject: [PATCH] 优化卡片外链,碎碎念标志

---
 src/components/group/MyPreviewModal.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/group/MyPreviewModal.vue b/src/components/group/MyPreviewModal.vue
index 4fa33aa..5800fd0 100644
--- a/src/components/group/MyPreviewModal.vue
+++ b/src/components/group/MyPreviewModal.vue
@@ -3,9 +3,8 @@
 		<a-modal v-model="visible" title="编辑预览" width="60%" :footer="null"
 			:bodyStyle="{'overflow':'overlay','width': '100%','height': '700px'}">
 			<div style="display: flex;">
-				<a-textarea id="myInput" style="height: 750px;min-width: 50%" v-model="text" 
+				<a-textarea id="myInput" style="height: 750px;min-width: 50%" v-model="text"
 					@keydown.9.native.prevent="tabFunc" />
-				
 				<div class="markdown-body article-detail" style="min-width: 50%;border: 1px solid #d9d9d9;">
 					<vue-markdown :source="text"></vue-markdown>
 				</div>
@@ -17,8 +16,9 @@
 
 <script>
 	import VueMarkdown from 'vue-markdown'
+	
 
-	import md5 from 'js-md5';
+	//import md5 from 'js-md5';
 	export default {
 		components: {
 			VueMarkdown
@@ -34,7 +34,7 @@
 				this.insertInputTxt('myInput', '\t')
 			},
 			insertInputTxt(id, insertTxt) {
-				var elInput =  document.getElementById(id);
+				var elInput = document.getElementById(id);
 				var startPos = elInput.selectionStart
 				var endPos = elInput.selectionEnd
 				if (startPos === undefined || endPos === undefined) return

--
Gitblit v1.9.1