add datetimepicker

This commit is contained in:
niunai
2017-03-20 21:59:28 +08:00
parent 2dc3941654
commit c3f9ced46e
9 changed files with 375 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ import Toast from '../packages/toast/index.js';
import Uploader from '../packages/uploader/index.js';
import Swipe from '../packages/swipe/index.js';
import SwipeItem from '../packages/swipe-item/index.js';
import DatetimePicker from '../packages/datetime-picker/index.js';
const install = function(Vue) {
if (install.installed) return;
@@ -69,6 +70,7 @@ const install = function(Vue) {
Vue.component(Uploader.name, Uploader);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
Vue.component(DatetimePicker.name, DatetimePicker);
};
// auto install
@@ -114,5 +116,6 @@ module.exports = {
Toast,
Uploader,
Swipe,
SwipeItem
SwipeItem,
DatetimePicker
};