3.0.2 • Published 6 years ago
hasky v3.0.2
安装/引入
npm i -S git+https://github.com/Hasky0911/vui-c.git
import vuc from 'vui-c'
Vue.use(vuc)
使用
example:
this.$alert({title: '', icon: 2, text: [''], explain: [''], btn: '', hasClose: false}, function () {}) // title: 标题; icon: 图标; text: 文字; explain: 说明; btn: 按钮文字; hasClose: 是否有关闭按钮
this.$loader.open('text'); this.$loader.close()
this.$toast.open('text'); this.$toast.close()