Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
chore: rename TabList to TabItem (#1732)
Browse files Browse the repository at this point in the history
  • Loading branch information
arniu authored Oct 12, 2021
1 parent 3a390f0 commit 124a759
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/remax-toutiao/src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface PageConfig {
usingComponents?: Record<string, any>;
}

interface TabList {
interface TabItem {
/**
*页面路径,必须在 pages 中先定义
*/
Expand Down Expand Up @@ -170,7 +170,7 @@ export interface AppConfig {
/**
* tab 的列表,详见 list 属性说明,最少 2 个、最多 5 个 tab
*/
list: TabList[];
list: TabItem[];
/**
* 默认值:bottom
* tabBar 的位置,仅支持 bottom / top
Expand Down
4 changes: 2 additions & 2 deletions packages/remax-wechat/src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export interface PageConfig {
usingComponents?: Record<string, any>;
}

interface TabList {
interface TabItem {
/**
*页面路径,必须在 pages 中先定义
*/
Expand Down Expand Up @@ -201,7 +201,7 @@ export interface AppConfig {
/**
* tab 的列表,详见 list 属性说明,最少 2 个、最多 5 个 tab
*/
list: TabList[];
list: TabItem[];
/**
* 默认值:bottom
* tabBar 的位置,仅支持 bottom / top
Expand Down

0 comments on commit 124a759

Please sign in to comment.