Skip to content

Commit

Permalink
fix(navbar): no default value is set for style
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs committed Aug 31, 2023
1 parent 209825e commit fec1456
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/navbar/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const props: TdNavbarProps = {
type: Boolean,
value: true,
},
/** 自定义组件样式 */
style: {
type: String,
value: '',
},
/** 后退按钮后退层数,含义参考 [wx.navigateBack](https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateBack.html),特殊的,传入 0 不会发生执行 wx.navigateBack */
delta: {
type: Number,
Expand Down

0 comments on commit fec1456

Please sign in to comment.