support Message

support Message
This commit is contained in:
梁灏 2017-03-09 22:21:54 +08:00
parent a538b6751f
commit 6cadeba44f
11 changed files with 59 additions and 67 deletions

View file

@ -21,7 +21,7 @@ import Input from './components/input';
import InputNumber from './components/input-number';
import LoadingBar from './components/loading-bar';
import Menu from './components/menu';
// import Message from './components/message';
import Message from './components/message';
import Modal from './components/modal';
// import Notice from './components/notice';
import Page from './components/page';
@ -80,7 +80,7 @@ const iview = {
MenuGroup: Menu.Group,
MenuItem: Menu.Item,
Submenu: Menu.Sub,
// Message,
Message,
Modal,
// Notice,
iOption: Option,
@ -122,7 +122,7 @@ const install = function (Vue, opts = {}) {
});
Vue.prototype.$Loading = LoadingBar;
// Vue.prototype.$Message = Message;
Vue.prototype.$Message = Message;
Vue.prototype.$Modal = Modal;
// Vue.prototype.$Notice = Notice;
};