0.1.6 • Published 8 months ago
scq-toast v0.1.6
scq-toast
Installation
npm i scq-toast
yarn add scq-toast
main.js
import Toast from 'scq-toast'
Vue.use(Toast)
Usage
duration参数可选,默认2000ms
this.$toast.success('成功!',duration)
this.$toast.fail('失败!',duration)
this.$toast.show('这是提示框!')
this.$toast.loading()
this.$toast.hide()