1.0.8 • Published 6 years ago
msf-ui v1.0.8
安装/引入
npm i --save msf-ui
import msfUI from 'msf-ui'
Vue.use(msfUI)
使用
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()