Skip to content

Commit

Permalink
updated frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Dec 3, 2021
1 parent f355996 commit 81179c9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ _book/
*.lock
vendor/
.crawlab
dist/
1 change: 1 addition & 0 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
window.VUE_APP_API_BASE_URL = '<%= VUE_APP_API_BASE_URL %>'
</script>
<script src="/js/vue3-sfc-loader.js"></script>
<script src="/js/umeng.js"></script>
<style>
#loading-placeholder {
position: fixed;
Expand Down
18 changes: 18 additions & 0 deletions frontend/public/js/umeng.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
(function (w, d, s, q, i) {
w[q] = w[q] || []
var f = d.getElementsByTagName(s)[0], j = d.createElement(s)
j.async = true
j.id = 'beacon-aplus'
j.src = 'https://d.alicdn.com/alilog/mlog/aplus/' + i + '.js'
f.parentNode.insertBefore(j, f)
})(window, document, 'script', 'aplus_queue', '203467608');

(async function () {
//集成应用的appKey
window.aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ['appKey', '617b5871e014255fcb618f6f']
})


})()

0 comments on commit 81179c9

Please sign in to comment.