From b4f6a53cc4815471c6b936cd462bb4500883a2f6 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Wed, 19 Jan 2022 02:11:40 +0800
Subject: [PATCH] 新增友链卡片

---
 src/components/swichLabel/main1-show.vue |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/components/swichLabel/main1-show.vue b/src/components/swichLabel/main1-show.vue
index 1faa4d6..6af6b69 100644
--- a/src/components/swichLabel/main1-show.vue
+++ b/src/components/swichLabel/main1-show.vue
@@ -17,6 +17,9 @@
 					<div class="myModal">
 						<a-modal v-model="visible" title="日志添加" on-ok="handleOk">
 							<template slot="footer">
+								<a-button key="reset" @click="reset"  type="danger">
+									擦掉重来
+								</a-button>
 								<a-button key="back" @click="handleCancel">
 									歇会
 								</a-button>
@@ -47,6 +50,7 @@
 						日志
 						<a-icon type="plus-circle" style="margin-left: 0px;" />
 					</a-button>
+					<tempFriendBox></tempFriendBox>
 					<tempBoxActicle></tempBoxActicle>
 					<router-view class="fade"></router-view>
 				</a-col>
@@ -61,6 +65,7 @@
 </template>
 
 <script>
+	import tempFriendBox from "../group/tempFriendBox.vue"
 	import tempBoxActicle from "../group/tempBoxActicle.vue"
 	import tempFormCheck from "../group/tempFormCheck.vue"
 	import box10 from "../mini/box10-add.vue"
@@ -72,6 +77,7 @@
 	export default {
 
 		components: {
+			tempFriendBox,
 			tempBoxActicle,
 			tempFormCheck,
 			box10,
@@ -111,6 +117,9 @@
 					this.loading = false;
 				}, 3000);
 			},
+			reset(e) {
+				var res=this.$refs.modalBox.$refs.myForm.resetFields()
+			},
 			handleCancel(e) {
 				this.visible = false;
 			},

--
Gitblit v1.9.1