|
|
@@ -47,6 +47,7 @@ import tabBar from '@/components/tabBar';
|
|
|
import ABtarget from './ABtarget.vue';
|
|
|
import { mapState } from 'vuex';
|
|
|
import bottomBtn from './bottomBtn.vue';
|
|
|
+import { getTicketFun } from '@/utils/TXApiFun';
|
|
|
export default {
|
|
|
name: 'home',
|
|
|
components: { tabBar, hintTabPage, ABtarget, bottomBtn },
|
|
|
@@ -85,20 +86,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- getTicketFun(['onMenuShareAppMessage'], 'agentConfig').then(() => {
|
|
|
- this.wx.onMenuShareAppMessage({
|
|
|
- title: '企业微信',
|
|
|
- desc: '让每个企业都有自己的微信',
|
|
|
- link: 'https://work.weixin.qq.com/',
|
|
|
- imgUrl: 'https://res.mail.qq.com/node/ww/wwmng/style/images/index_share_logo$13c64306.png',
|
|
|
- success() {
|
|
|
- // 用户确认分享后回调
|
|
|
- },
|
|
|
- cancel() {
|
|
|
- // 用户取消分享后回调
|
|
|
- },
|
|
|
- });
|
|
|
- });
|
|
|
+ getTicketFun(['onMenuShareAppMessage'], 'agentConfig').then(() => {});
|
|
|
this.getDict();
|
|
|
},
|
|
|
methods: {
|