Skip to content
本页内容

基础用法

右键打开菜单,可以执行相应操作

Tags 属性

属性说明类型默认值
v-model绑定值string-
classic经典模式booleantrue

Comment 事件

事件名说明回调参数
select选择标签触发(tag: TagApi) => void
refresh刷新事件(tag: TagApi) => void
close关闭事件(tag: TagApi) => void
closeOther关闭其他事件(tag: TagApi) => void
closeOther关闭全部事件() => void
fullScreen全屏事件(tag: TagApi) => void

接口类型

ts
export interface TagApi {
  path: string
  name?: string
  meta: {
    title: string
    isAffix: boolean
    isKeepAlive?: boolean
  }
}