Browse Source

feat:添加友盟流量统计

pull/12/head
高森 4 years ago
parent
commit
f2f6f1c524
2 changed files with 6 additions and 2 deletions
  1. +0
    -2
      webapp/public/index.html
  2. +6
    -0
      webapp/src/App.vue

+ 0
- 2
webapp/public/index.html View File

@@ -17,8 +17,6 @@

</style>
</head>
<script type="hidden" src="https://s9.cnzz.com/z_stat.php?id=1280801259&web_id=1280801259">
</script>

<body>
<div id="app"></div>


+ 6
- 0
webapp/src/App.vue View File

@@ -12,6 +12,12 @@ export default {
data() {
return {};
},
mounted() {
const script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://s9.cnzz.com/z_stat.php?id=1280834206&web_id=1280834206';
document.getElementsByTagName('head')[0].appendChild(script);
},
methods: {
/**
* @description: 获取缩放值


Loading…
Cancel
Save