Skip to content

选项卡组件tabs的属性tabBarGutter类型错误 #205

@Xzillion

Description

@Xzillion
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.1.3

Environment

win10/vue2.5.17

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.按照接口文档设置tabBarGutter为number类型,不生效;
2.设置string类型,如"90px",属性生效,但是控制台抛出类型校验错误
Invalid prop: type check failed for prop "tabBarGutter". Expected Number, got String.

What is expected?

tabBarGutter可配置为number类型,且属性生效

What is actually happening?

tabBarGutter可配置为number类型,属性不生效;
tabBarGutter配置为string类型,属性生效,但是类型校验不通过。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions