Feat(页面):页面埋点配置
This commit is contained in:
+7
-1
@@ -225,10 +225,12 @@ import {
|
||||
cartGoodChangeAttr
|
||||
} from '@/api/store'
|
||||
import CheckboxIcon from '@/components/CheckboxIcon.vue'
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
export default {
|
||||
components: {
|
||||
CheckboxIcon
|
||||
},
|
||||
mixins: [pageListenMixins],
|
||||
data() {
|
||||
return {
|
||||
statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
|
||||
@@ -241,7 +243,8 @@ export default {
|
||||
productAttr: [],
|
||||
productValueArr: []
|
||||
},
|
||||
showAttr: false
|
||||
showAttr: false,
|
||||
pageKeyId: Object.freeze('landmarkGoodsIndex')
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -274,6 +277,9 @@ export default {
|
||||
this.closeAttr()
|
||||
this.getCart()
|
||||
},
|
||||
onHide() {
|
||||
this.pageToHideHandle()
|
||||
},
|
||||
methods: {
|
||||
async getCart() {
|
||||
const res = await getCartGroup()
|
||||
|
||||
Reference in New Issue
Block a user