| | |
| | | </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 { |