u-tabs设置默认选中值

uView中u-tabs设置默认选中值:

tabs官网连接:https://www.uviewui.com/components/tabs.html

  • 在u-tabs标签中添加 == :current == 属性值
    【注意】:current数值是从0开始的
    在这里插入图片描述
    u-tabs设置默认选中值_第1张图片
    u-tabs设置默认选中值_第2张图片

你可能感兴趣的:(前端,uniapp)