diff --git a/packages/remax-toutiao/src/types/config.ts b/packages/remax-toutiao/src/types/config.ts index cddafaa06..96f1843e5 100644 --- a/packages/remax-toutiao/src/types/config.ts +++ b/packages/remax-toutiao/src/types/config.ts @@ -58,7 +58,7 @@ export interface PageConfig { usingComponents?: Record; } -interface TabList { +interface TabItem { /** *页面路径,必须在 pages 中先定义 */ @@ -170,7 +170,7 @@ export interface AppConfig { /** * tab 的列表,详见 list 属性说明,最少 2 个、最多 5 个 tab */ - list: TabList[]; + list: TabItem[]; /** * 默认值:bottom * tabBar 的位置,仅支持 bottom / top diff --git a/packages/remax-wechat/src/types/config.ts b/packages/remax-wechat/src/types/config.ts index 913ed9e45..f332467f2 100644 --- a/packages/remax-wechat/src/types/config.ts +++ b/packages/remax-wechat/src/types/config.ts @@ -76,7 +76,7 @@ export interface PageConfig { usingComponents?: Record; } -interface TabList { +interface TabItem { /** *页面路径,必须在 pages 中先定义 */ @@ -201,7 +201,7 @@ export interface AppConfig { /** * tab 的列表,详见 list 属性说明,最少 2 个、最多 5 个 tab */ - list: TabList[]; + list: TabItem[]; /** * 默认值:bottom * tabBar 的位置,仅支持 bottom / top