1.0.5 • Published 7 years ago

vue-fxr-alert v1.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

https://github.com/fuXiangRong/fxr-alert

使用方法

  • npm i vue-fxr-alert -S
  • 或 cnpm i vue-fxr-alert -S
  • import vueFxrAlert from 'vue-fxr-alert'
  • Vue.use(vueFxrAlert);
<script>
  export default {
    name: 'app',
    created(){
      //显示
      this.fxrAlert.show({
        title: '友情提示',
        content: '用户名不正确',
        onShow () {
          console.log('显示')
        },
        onHide () {
          console.log('确定按钮点击回调')
        }
      })

      // 隐藏
      this.fxrAlert.hide()
    }
  }
</script>
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago