feat: 页面分享设置
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"enableShareAppMessage": false,
|
||||
"enableShareTimelineMessage": false,
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "我的",
|
||||
"navigationBarTextStyle": "black",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { disablePageShareMenu } from '../../base/pageMixin';
|
||||
import { getDownloadLogCount } from '../../utils/downloadLogs';
|
||||
import { getFavoriteCount } from '../../utils/favorites';
|
||||
import {
|
||||
@@ -23,6 +24,7 @@ Page({
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
disablePageShareMenu();
|
||||
this.syncUserInfoFromApp();
|
||||
const isDevEnv =
|
||||
wx.getAccountInfoSync().miniProgram.envVersion === 'develop';
|
||||
|
||||
Reference in New Issue
Block a user