[fix] 完善 人力发展-培训上岗-增员分享 的微信分享配置参数

This commit is contained in:
tian.guangyuan
2020-03-17 13:44:44 +08:00
parent 5b4e332392
commit 12e74957d7
3 changed files with 32 additions and 9 deletions

View File

@@ -13,6 +13,7 @@
<script>
import { Cell } from 'vant'
import { weixinShare } from '@/assets/js/utils/wxShare.js'
export default {
name: 'NavItem',
components: {
@@ -48,13 +49,7 @@ export default {
routerInfo: { path: path }
})
} else {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('bridge', {
flag: 'share',
extra: {
shareType: '1'
}
})
weixinShare(config.shareConfig)
}
}
}