1.0.23 • Published 3 years ago

@onecoffee/coffeemultitab v1.0.23

Weekly downloads
-
License
ISC
Repository
-
Last release
3 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

3 years ago

1.0.21

3 years ago

1.0.23

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago