1.0.19 • Published 3 years ago

zbase-components v1.0.19

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

zbase-components

vue常用组件库

Installation

npm i zbase-components

Usage

// 在vue项目入口文件main.js中引入
import ZbaseComponents from 'zbase-components'
import "zbase-components/lib/style/index.css";
import Vue from 'vue'

Vue.use(ZbaseComponents)

multi-window

vue多窗口

在显示多窗口的页面

<template>
  <div>
    <button @click="open">打开新窗口</button>
    <button @click="close">关闭窗口</button>
    <ZbaseMultiWindowBox />
  </div>
</template>


<script>
export default {
  data () {
    return {
    }
  },
  methods: {
    open () {
      // 打开新窗口
      this.$multiWindow.open('https://www.github.com/zbase2020')
    },
    close () {
      // 关闭窗口-默认关闭当前打开窗口
      this.$multiWindow.close()
      // 关闭指定窗口
      // this.$multiWindow.close('https://www.github.com/zbase2020')
    }
  }
}
</script>
1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.13

4 years ago

1.0.9

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

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

1.0.0

4 years ago