1.0.7 • Published 5 years ago
vue-alert-message v1.0.7
###this is a vue-alert-message
###install npm i vue-alert-message --save
###use you can use in your main.js of vue-project by
import Vue from 'vue';
import message from 'vue-alert-message';
Vue.use(message)
you can use in anywhere by
this.$message(type, msg) @params type:类型(support: error, success, warning) @params msg: 信息 example: this.$message('error', err); loading: const loading = this.$message('loading'); close: loading.closeLoading();