|
@@ -37,7 +37,7 @@
|
|
|
leaveSourceVue.doLeave({
|
|
|
platform: utils.$env.platform, // 平台,必传。默认值pc,可选h5/app/wx。内部会根据此id渲染不同组件
|
|
|
source: 'member_freeuser', // 留资source,必传。用来查询留资数据和提交留资数据
|
|
|
- source_desc: '付费产品落地页点击体验按钮', // 线索描述,必传。创建线索接口调用时必须要此参数
|
|
|
+ clueText: '付费产品落地页点击体验按钮', // 线索描述,必传。创建线索接口调用时必须要此参数
|
|
|
})
|
|
|
```
|
|
|
|
|
@@ -59,13 +59,14 @@ Vue.use(xxx)
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import leaveSourceVue from '@jy/plugin-leave-source'
|
|
|
export default {
|
|
|
methods: {
|
|
|
handle() {
|
|
|
- doLeaveSource({
|
|
|
- platform: utils.$env.platform, // 平台,必传。默认值pc,可选h5/app/wx。内部会根据此id渲染不同组件
|
|
|
+ leaveSourceVue.doLeave({
|
|
|
+ platform: this.$env.platform, // 平台,必传。默认值pc,可选h5/app/wx。内部会根据此id渲染不同组件
|
|
|
source: 'member_freeuser', // 留资source,必传。用来查询留资数据和提交留资数据
|
|
|
- source_desc: '付费产品落地页点击体验按钮', // 线索描述,必传。创建线索接口调用时必须要此参数
|
|
|
+ clueText: '付费产品落地页点击体验按钮', // 线索描述,必传。创建线索接口调用时必须要此参数
|
|
|
})
|
|
|
}
|
|
|
}
|