wechat_staff/pages/kefu/select.js
@@ -1,4 +1,6 @@ import { getCustomerList } from '../../api/index' import { getCustomerList, getCrmAuthUrl } from '../../api/index' const { HYEventBus } = require('hy-event-store') const eventBus = new HYEventBus() Page({ /** @@ -63,9 +65,12 @@ }) }, jumpClient() { wx.switchTab({ url: '/pages/client/index', getCrmAuthUrl({type:1}).then(res => { console.log(res.data) this.setData({ url: res.data }) wx.navigateTo({ url: '/pages/webView/index?link=' + res.data, }) }) }, handleSub() {