0.3.5 • Published 3 years ago
ins-component v0.3.5
ins-component
npm install ins-component
使用
import {
dialogComponent,
loadingComponent
} from 'ins-component'
Vue.use(dialogComponent)
Vue.use(loadingComponent)
this.$insLoading.show()
this.$insLoading.hide()
this.$insDialogs.show({
title: '', // 标题
content: '', // 内容
callback // 回调函数,show or close
})