代码更新

This commit is contained in:
jia 2023-09-05 19:13:06 +08:00
parent 8c11c5748c
commit 2aebbba974
2 changed files with 6 additions and 2 deletions

View File

@ -77,6 +77,7 @@
this.globalData.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px'; this.globalData.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
this.globalData.uid = this.$store.state.app.uid; this.globalData.uid = this.$store.state.app.uid;
// #ifdef APP-PLUS
//uni //uni
mp.onUniMPEventReceive(ret => { mp.onUniMPEventReceive(ret => {
console.log('小程序事件: ', ret); console.log('小程序事件: ', ret);
@ -86,6 +87,7 @@
}); });
} }
}); });
// #endif
let that = this; let that = this;
// #ifdef MP // #ifdef MP

View File

@ -106,7 +106,9 @@
import { import {
getDiy getDiy
} from '@/api/api.js'; } from '@/api/api.js';
// #ifdef APP-PLUS
import uniMP from '@/utils/uniMP.js'; import uniMP from '@/utils/uniMP.js';
// #endif
export default { export default {
components: { components: {
@ -135,13 +137,13 @@
// //
AllMenuList: [{ AllMenuList: [{
name: '商户平台', name: '商户平台',
icon: 'static/applet/shop_app.png', icon: '/static/applet/shop_app.png',
data: '/pages/moreProject/moreProject', data: '/pages/moreProject/moreProject',
type: 2, type: 2,
}, },
{ {
name: '供销平台', name: '供销平台',
icon: 'static/applet/gx_app.png', icon: '/static/applet/gx_app.png',
data: '__UNI__B5B1EDD', data: '__UNI__B5B1EDD',
type: 1, type: 1,
}, },