fix: 解决公告点击跳转路径不对的问题
This commit is contained in:
@@ -9,9 +9,6 @@
|
|||||||
/** 当前应用版本号;profile 页和首页公告共用 */
|
/** 当前应用版本号;profile 页和首页公告共用 */
|
||||||
export const APP_VERSION = '3.2.0';
|
export const APP_VERSION = '3.2.0';
|
||||||
|
|
||||||
/** 当前版本的更新摘要,用于首页公告;改版本时一起改 */
|
|
||||||
export const APP_VERSION_NOTE = '新增幼儿识字测字表';
|
|
||||||
|
|
||||||
export const defaultPrintConfig: PrintConfig = {
|
export const defaultPrintConfig: PrintConfig = {
|
||||||
// header: 'LogoImage',
|
// header: 'LogoImage',
|
||||||
header: 'wechat',
|
header: 'wechat',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { CATEGORY_LIST_WITH_ALL } from '../../core/data/categories';
|
import { CATEGORY_LIST_WITH_ALL } from '../../core/data/categories';
|
||||||
import { AGE_BANDS } from '../../core/data/difficulty';
|
import { AGE_BANDS } from '../../core/data/difficulty';
|
||||||
import { CategoryId } from '../../core/models/category';
|
import { CategoryId } from '../../core/models/category';
|
||||||
import { APP_VERSION, APP_VERSION_NOTE } from '../../config/config';
|
import { APP_VERSION } from '../../config/config';
|
||||||
|
|
||||||
export type HomeDisplayItem = {
|
export type HomeDisplayItem = {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -72,11 +72,12 @@ export const HOME_NOTICES: HomeNotice[] = [
|
|||||||
{
|
{
|
||||||
id: 'welcome',
|
id: 'welcome',
|
||||||
text: '欢迎来到 涂鸦丫,趣味练习纸任你选',
|
text: '欢迎来到 涂鸦丫,趣味练习纸任你选',
|
||||||
|
path: '/chinesePages/wordTestSheet/wordTestSheet',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: `update-${APP_VERSION}`,
|
id: `update-${APP_VERSION}`,
|
||||||
text: `${APP_VERSION} 上线:${APP_VERSION_NOTE}`,
|
text: `${APP_VERSION} 上线:新增幼儿识字测字表`,
|
||||||
path: '/chinesePages/penControlSheet/penControlSheet',
|
path: '/chinesePages/wordTestSheet/wordTestSheet',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user