Commit 2daab321 by 李伟康

commit 付款方式埋点

1 parent 51a55ad2
...@@ -137,17 +137,17 @@ export default { ...@@ -137,17 +137,17 @@ export default {
if (newval.length) { if (newval.length) {
this.payInfo = newval.find(i => i.paymentType == 1) || {} this.payInfo = newval.find(i => i.paymentType == 1) || {}
this.accountInfo = newval.find(i => i.paymentType == 2) || {} this.accountInfo = newval.find(i => i.paymentType == 2) || {}
this.handleSwitchTab(newval[0]) this.handleSwitchTab(newval[0], false)
} }
} }
}, },
}, },
methods: { methods: {
// 切换tab // 切换tab
handleSwitchTab (item) { handleSwitchTab (item, isClick = true) {
this.payActive = item.type; this.payActive = item.type;
this.title = item.title this.title = item.title
uni.$logger.local.info(`付款方式:${item.title}`) if (isClick) uni.$logger.local.info(`付款方式:${item.title}`)
}, },
// 显示弹窗 // 显示弹窗
show () { show () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!