【修改】修改

This commit is contained in:
zhoulingpo
2023-05-26 09:33:35 +08:00
parent a9d1134a17
commit 240ae50fe2
4 changed files with 13 additions and 4 deletions
-2
View File
@@ -39,9 +39,7 @@ import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import dict from '@/components/dict'
import {init} from '@/utils/quickTracking';
import './icon'
init()
VXETable.setup({
table: {
resizable: true
+9 -2
View File
@@ -15,7 +15,9 @@ export const EventType = {
}
export function init() {
console.log(window.aplus_queue,"window.aplus_queuewindow.aplus_queuewindow.aplus_queue")
if (!window.aplus_queue) {
console.log("执行了?????")
initQueue()
loadQuickTrackSDK()
.then(() => {
@@ -60,6 +62,7 @@ export function sendTrack({
}
function initQueue() {
console.log("全买点噢!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
window.aplus_queue = []
// 手动 PV
window.aplus_queue.push({
@@ -81,7 +84,7 @@ function initQueue() {
// 关闭全埋点
window.aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ['aplus-autotrack-enabled', false]
arguments: ['aplus-autotrack-enabled', true]
})
window.aplus_queue.push({
action: 'aplus.setMetaInfo',
@@ -117,7 +120,11 @@ async function setUserInfo() {
if (userInfo) {
window.aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ['_user_id', userInfo.usid]
arguments:['$$_user_profile', 'OTHER', {
name: userInfo.usname, //用户属性1
id:userInfo.usid,
}]
})
}
window.aplus_queue.push({
+2
View File
@@ -39,6 +39,7 @@
<script>
import { Base64 } from 'js-base64'
import {basMessage} from '@/utils/Enum/enum'
import {init} from '@/utils/quickTracking';
export default {
name: 'Login',
data () {
@@ -151,6 +152,7 @@ export default {
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
}
this.$message.success('登录成功')
init()
this.getMarket().then((resx)=>{
this.$store.commit('setMarketpre', resx)
this.$router.push(params)
+2
View File
@@ -3,6 +3,7 @@
</template>
<script>
import {init} from '@/utils/quickTracking';
export default {
name: "checkPage",
data(){
@@ -72,6 +73,7 @@ export default {
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
}
this.$message.success('登录成功')
init()
this.getMarket().then((resx)=>{
this.$store.commit('setMarketpre', resx)
this.$router.push(params)