diff --git a/App.vue b/App.vue index ae5516e..a7e0720 100644 --- a/App.vue +++ b/App.vue @@ -5,7 +5,6 @@ export default { mixins: [auth], onLaunch: function() { uni.hideTabBar(); - // #ifdef MP const updateManager = uni.getUpdateManager(); updateManager.onCheckForUpdate(function(res) { @@ -165,7 +164,6 @@ export default { if (res.code == 0) { var wxJS = new Weixin(); wxJS.init(res.data.jssdk_config); - let share_data = JSON.parse(JSON.stringify(res.data.share_config.data)); if (share_data) { wxJS.setShareData( @@ -180,10 +178,8 @@ export default { } ); } - let hideOptionMenu = res.data.share_config.permission.hideOptionMenu; let hideMenuItems = res.data.share_config.permission.hideMenuItems; - if (hideOptionMenu) { wxJS.weixin.hideOptionMenu(); //屏蔽分享好友等按钮 } else { diff --git a/components/diy-components/diy-goods-list.vue b/components/diy-components/diy-goods-list.vue index a0adb1b..4f6d8f1 100644 --- a/components/diy-components/diy-goods-list.vue +++ b/components/diy-components/diy-goods-list.vue @@ -21,7 +21,7 @@ - {{ parseFloat(item.give_diamond) }}颗钻石 + {{ parseFloat(item.give_diamond) }}颗猕猴桃