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

Commit

Permalink
fix(web): 修复 app config 中 router 配置的类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Darmody committed Aug 20, 2020
1 parent 7ae649e commit b4f2c84
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/remax-web/src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,15 @@ export interface AppConfig {
*/
reachBottomOffset?: number;
/**
* 默认值:hash
* history 类型
* router 配置
*/
historyType?: 'hash' | 'browser';
router: {
/**
* 默认值:hash
* history 类型
*/
type?: 'hash' | 'browser';
};
/**
* 设置底部 tab bar 的表现
*/
Expand Down

1 comment on commit b4f2c84

@vercel
Copy link

@vercel vercel bot commented on b4f2c84 Aug 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.