【修改】修改
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.snow.css'
|
||||||
import 'quill/dist/quill.bubble.css'
|
import 'quill/dist/quill.bubble.css'
|
||||||
import dict from '@/components/dict'
|
import dict from '@/components/dict'
|
||||||
import {init} from '@/utils/quickTracking';
|
|
||||||
import './icon'
|
import './icon'
|
||||||
init()
|
|
||||||
VXETable.setup({
|
VXETable.setup({
|
||||||
table: {
|
table: {
|
||||||
resizable: true
|
resizable: true
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ export const EventType = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function init() {
|
export function init() {
|
||||||
|
console.log(window.aplus_queue,"window.aplus_queuewindow.aplus_queuewindow.aplus_queue")
|
||||||
if (!window.aplus_queue) {
|
if (!window.aplus_queue) {
|
||||||
|
console.log("执行了?????")
|
||||||
initQueue()
|
initQueue()
|
||||||
loadQuickTrackSDK()
|
loadQuickTrackSDK()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@@ -60,6 +62,7 @@ export function sendTrack({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function initQueue() {
|
function initQueue() {
|
||||||
|
console.log("全买点噢!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
|
||||||
window.aplus_queue = []
|
window.aplus_queue = []
|
||||||
// 手动 PV
|
// 手动 PV
|
||||||
window.aplus_queue.push({
|
window.aplus_queue.push({
|
||||||
@@ -81,7 +84,7 @@ function initQueue() {
|
|||||||
// 关闭全埋点
|
// 关闭全埋点
|
||||||
window.aplus_queue.push({
|
window.aplus_queue.push({
|
||||||
action: 'aplus.setMetaInfo',
|
action: 'aplus.setMetaInfo',
|
||||||
arguments: ['aplus-autotrack-enabled', false]
|
arguments: ['aplus-autotrack-enabled', true]
|
||||||
})
|
})
|
||||||
window.aplus_queue.push({
|
window.aplus_queue.push({
|
||||||
action: 'aplus.setMetaInfo',
|
action: 'aplus.setMetaInfo',
|
||||||
@@ -117,7 +120,11 @@ async function setUserInfo() {
|
|||||||
if (userInfo) {
|
if (userInfo) {
|
||||||
window.aplus_queue.push({
|
window.aplus_queue.push({
|
||||||
action: 'aplus.setMetaInfo',
|
action: 'aplus.setMetaInfo',
|
||||||
arguments: ['_user_id', userInfo.usid]
|
arguments:['$$_user_profile', 'OTHER', {
|
||||||
|
name: userInfo.usname, //用户属性1
|
||||||
|
id:userInfo.usid,
|
||||||
|
|
||||||
|
}]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
window.aplus_queue.push({
|
window.aplus_queue.push({
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Base64 } from 'js-base64'
|
import { Base64 } from 'js-base64'
|
||||||
import {basMessage} from '@/utils/Enum/enum'
|
import {basMessage} from '@/utils/Enum/enum'
|
||||||
|
import {init} from '@/utils/quickTracking';
|
||||||
export default {
|
export default {
|
||||||
name: 'Login',
|
name: 'Login',
|
||||||
data () {
|
data () {
|
||||||
@@ -151,6 +152,7 @@ export default {
|
|||||||
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
|
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
|
||||||
}
|
}
|
||||||
this.$message.success('登录成功')
|
this.$message.success('登录成功')
|
||||||
|
init()
|
||||||
this.getMarket().then((resx)=>{
|
this.getMarket().then((resx)=>{
|
||||||
this.$store.commit('setMarketpre', resx)
|
this.$store.commit('setMarketpre', resx)
|
||||||
this.$router.push(params)
|
this.$router.push(params)
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {init} from '@/utils/quickTracking';
|
||||||
export default {
|
export default {
|
||||||
name: "checkPage",
|
name: "checkPage",
|
||||||
data(){
|
data(){
|
||||||
@@ -72,6 +73,7 @@ export default {
|
|||||||
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
|
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
|
||||||
}
|
}
|
||||||
this.$message.success('登录成功')
|
this.$message.success('登录成功')
|
||||||
|
init()
|
||||||
this.getMarket().then((resx)=>{
|
this.getMarket().then((resx)=>{
|
||||||
this.$store.commit('setMarketpre', resx)
|
this.$store.commit('setMarketpre', resx)
|
||||||
this.$router.push(params)
|
this.$router.push(params)
|
||||||
|
|||||||
Reference in New Issue
Block a user