Commit e623b0c1 by xinla

修改客户画像bug

1 parent 49c0235d
...@@ -6,14 +6,14 @@ export default { ...@@ -6,14 +6,14 @@ export default {
name: 'App', name: 'App',
provide() { provide() {
return { return {
reload: this.reload, reload: this.reload
} }
}, },
data() { data() {
return { return {
corpId: '', corpId: '',
agentId: '', agentId: '',
isRouterAlive: true, isRouterAlive: true
} }
}, },
async created() { async created() {
...@@ -45,12 +45,12 @@ export default { ...@@ -45,12 +45,12 @@ export default {
// this.wxConfig() // this.wxConfig()
const noAuth = route.meta ? route.meta.noAuth : false const noAuth = route.meta ? route.meta.noAuth : false
!noAuth && this.wxConfig() !noAuth && this.wxConfig()
}, }
}, },
methods: { methods: {
reload() { reload() {
this.isRouterAlive = false this.isRouterAlive = false
this.$nextTick(function() { this.$nextTick(() => {
this.isRouterAlive = true this.isRouterAlive = true
}) })
}, },
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
'getCurExternalContact', 'getCurExternalContact',
'openEnterpriseChat', 'openEnterpriseChat',
'shareToExternalContact', 'shareToExternalContact',
'shareToExternalChat', 'shareToExternalChat'
], //必填 ], //必填
success: (res) => { success: (res) => {
// 回调 // 回调
...@@ -88,10 +88,10 @@ export default { ...@@ -88,10 +88,10 @@ export default {
if (res.errMsg.indexOf('function not exist') > -1) { if (res.errMsg.indexOf('function not exist') > -1) {
alert('版本过低请升级') alert('版本过低请升级')
} }
}, }
}) })
} catch (error) {} } catch (error) {}
}, }
// 丢弃 // 丢弃
// _wxConfig() { // _wxConfig() {
// // 获取企业的jsapi_ticket // // 获取企业的jsapi_ticket
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
// }) // })
// }) // })
// }, // },
}, }
} }
</script> </script>
<template> <template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!