123456789101112131415161718192021 |
- <template>
- <div></div>
- </template>
- <script lang="ts" setup>
- defineOptions({
- name: 'VabStatistics',
- })
- // 网站访问量统计 如不需要请自行注释
- onBeforeMount(() => {
- if (location.hostname !== 'localhost' && !location.hostname.includes('127') && !location.hostname.includes('192')) {
- ;(function () {
- const hm = document.createElement('script')
- hm.src = 'https://hm.baidu.com/hm.js?820b686671af452e8a4e18952ce946d8'
- const s: any = document.getElementsByTagName('script')[0]
- s.parentNode.insertBefore(hm, s)
- })()
- }
- })
- </script>
|