support Modal

support Modal
This commit is contained in:
梁灏 2017-03-09 18:31:47 +08:00
parent f97e5bb01a
commit 6259471f4c
9 changed files with 153 additions and 39 deletions

View file

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