From 3c71cc74e6dd5f1015329c64e11e8ec1cd7a97c1 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Wed, 31 Aug 2022 18:11:16 +0800
Subject: [PATCH] 新增编辑页 日志列表接口

---
 src/components/fixed/footer.vue |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/src/components/fixed/footer.vue b/src/components/fixed/footer.vue
index f1ae58d..f8db5b8 100644
--- a/src/components/fixed/footer.vue
+++ b/src/components/fixed/footer.vue
@@ -20,14 +20,22 @@
 </template>
 
 <script>
-	 var _hmt = _hmt || [];
-	 (function() {
-	   var hm = document.createElement("script");
-	   hm.src = "https://hm.baidu.com/hm.js?7ec680274146b33760c579b79dfb8f7c";
-	   var s = document.getElementsByTagName("script")[0]; 
-	   s.parentNode.insertBefore(hm, s);
-	 })();
-	 
+	import myConstant from "../../config/myConstant.js"
+
+	var _hmt = _hmt || [];
+	(function() {
+		let tempVisitorData = localStorage.getItem(myConstant.visitorDataKey);
+		if (tempVisitorData != null && JSON.parse(tempVisitorData).nickName == myConstant.userName) {
+			//this.$message.info("认证成功..")
+			// console.log("认证成功..");
+		}else{
+			var hm = document.createElement("script");
+			hm.src = "https://hm.baidu.com/hm.js?7ec680274146b33760c579b79dfb8f7c";
+			var s = document.getElementsByTagName("script")[0];
+			s.parentNode.insertBefore(hm, s);
+		}
+	})();
+
 	export default {
 		data() {
 			return {

--
Gitblit v1.9.1