Function useFiveFloor

  • Five Vue Hooks: Five 楼层

    Returns [shownFloor: Ref<number | null>, totalFloorLength: Ref<number>, showFloor: ((floorIndex?: number) => void)]

    [ shownFloor: Five 当前显示的楼层, null 为都显示, showFloor: 设置显示楼层,不传参数为都显示 ]

    const [ shownFloor, showFloor ] = useFiveHelper;