【修改】修改
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user