1.0.23 • Published 2 years ago

@onecoffee/coffeemultitab v1.0.23

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

关于api的调用

  1. open
  2. rename
  3. closeCurrentPage
  4. close

调用方式

  1. //注册
     Vue.use(CoffeeMultiTab)
     ...
     ...
     //使用
     this.$coffeeMultiTab.close()

关于获取multitab中的部分变量,如fullPathList等

思路:使用发布订阅者模式 注册动作要在发布消息之前,获取到之后建议放入store中使用

    this.$coffeeMultiTab.instance.$on('getFullPath', (val) => {
      console.log('获取到的fullpath', val)
    })
1.0.22

2 years ago

1.0.21

2 years ago

1.0.23

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago