init message

This commit is contained in:
Leopoldthecoder
2016-08-15 11:51:25 +08:00
parent 05081a7424
commit 7e05dab840
13 changed files with 451 additions and 12 deletions

View File

@@ -14,13 +14,14 @@ const install = function(Vue) {
{{install}}
// Vue.use(Loading);
Vue.use(Loading);
// Vue.prototype.$msgbox = MessageBox;
// Vue.prototype.$alert = MessageBox.alert;
// Vue.prototype.$confirm = MessageBox.confirm;
// Vue.prototype.$prompt = MessageBox.prompt;
// Vue.prototype.$notify = Notification;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$notify = Notification;
Vue.prototype.$message = Message;
};
// auto install