feat:V2.5.6分享优化
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
import { createPage, PageCommonMethodsConfig } from '../../../base/pageMixin';
|
||||
import { FOCUS_FUNCTION_TYPES } from '../../../constants/focusFunctions';
|
||||
import { defaultShareConfig } from '../../../config/config';
|
||||
/**
|
||||
* 专注力模块的函数类型定义
|
||||
*/
|
||||
@@ -14,14 +15,6 @@ export interface FocusFunctionType {
|
||||
desc: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 专注力模块的分享配置
|
||||
*/
|
||||
const focusShareConfig = {
|
||||
title: '涂鸦丫-专注力训练',
|
||||
imageUrl: 'https://cdn.joeyone.cn/doodle/share-img/focus-share.png',
|
||||
};
|
||||
|
||||
/**
|
||||
* 专注力模块的页面信息查找函数
|
||||
*/
|
||||
@@ -44,7 +37,7 @@ function focusPageInfoLookup(functionId: string) {
|
||||
* 专注力模块的配置
|
||||
*/
|
||||
const focusConfig: PageCommonMethodsConfig = {
|
||||
shareConfig: focusShareConfig,
|
||||
shareConfig: defaultShareConfig,
|
||||
pageInfoLookup: focusPageInfoLookup,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user