updated frontend

This commit is contained in:
Marvin Zhang
2022-05-19 20:08:43 +08:00
parent 3718d5fd41
commit 4a18a6a8aa
3 changed files with 1 additions and 25 deletions

View File

@@ -13,7 +13,6 @@
window.VUE_APP_INIT_BAIDU_TONGJI = '<%= VUE_APP_INIT_BAIDU_TONGJI %>';
</script>
<script src="/js/vue3-sfc-loader.js"></script>
<script src="/js/umeng.js"></script>
<style>
#loading-placeholder {
position: fixed;

View File

@@ -1,18 +0,0 @@
(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']
})
})()

View File

@@ -3,10 +3,5 @@ import 'vue';
import {createApp} from 'crawlab-ui';
(async function () {
await createApp({
// @ts-ignore
initBaiduTongji: window['VUE_APP_INIT_BAIDU_TONGJI'] !== 'false',
// @ts-ignore
initUmeng: window['VUE_APP_INIT_UMENG'] !== 'false',
});
await createApp();
})();